public abstract class InterestOperationContext extends OperationContext
OperationContext.OperationCode
Constructor and Description |
---|
InterestOperationContext(java.lang.Object key,
InterestType interestType)
Constructor for the register interest operation.
|
Modifier and Type | Method and Description |
---|---|
InterestType |
getInterestType()
Get the
InterestType of this register/unregister operation. |
java.lang.Object |
getKey()
Get the key for this register/unregister interest operation.
|
boolean |
isPostOperation()
True if the context is for post-operation.
|
void |
setKey(java.lang.Object key)
Set the key for this register/unregister interest operation.
|
getOperationCode, isClientUpdate, isClientUpdate
public InterestOperationContext(java.lang.Object key, InterestType interestType)
key
- the key or list of keys being registered/unregisteredinterestType
- the InterestType
of the register requestpublic boolean isPostOperation()
isPostOperation
in class OperationContext
public java.lang.Object getKey()
public void setKey(java.lang.Object key)
key
- the new keypublic InterestType getInterestType()
InterestType
of this register/unregister operation.InterestType
of this request.