public abstract class AbstractReplyNot extends AbstractNotification
AbstractReply
is a reply sent by a destination agent to
a client agent.Modifier and Type | Field and Description |
---|---|
private int |
correlationId
The
correlationId field is equal to the request's
identifier. |
detachable, detached, persistent
BOOLEAN_ENCODED_SIZE, BYTE_ENCODED_SIZE, DOUBLE_ENCODED_SIZE, FLOAT_ENCODED_SIZE, INT_ENCODED_SIZE, LONG_ENCODED_SIZE, SHORT_ENCODED_SIZE
Constructor and Description |
---|
AbstractReplyNot()
Constructs an
AbstractReply . |
AbstractReplyNot(int clientContext,
int correlationId)
Constructs an
AbstractReply . |
Modifier and Type | Method and Description |
---|---|
int |
getCorrelationId()
Returns the reply identifier.
|
StringBuffer |
toString(StringBuffer output)
Appends a string image for this object to the StringBuffer parameter.
|
decode, encode, getClientContext, getEncodedSize, setPersistent
done, failed, hasCallback, passCallback, setCountDownCallback
clone, getContext, getDeadNotificationAgentId, getEncodableClassId, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString
private int correlationId
correlationId
field is equal to the request's
identifier.public AbstractReplyNot(int clientContext, int correlationId)
AbstractReply
.clientContext
- Client context identifier.correlationId
- Identifier of the reply.public AbstractReplyNot()
AbstractReply
.public int getCorrelationId()
public StringBuffer toString(StringBuffer output)
toString
in class AbstractNotification
output
- buffer to fill inoutput
buffer is returnedCopyright © 2016 ScalAgent D.T.. All Rights Reserved.