Class AbstractReplyNot
- java.lang.Object
-
- fr.dyade.aaa.agent.Notification
-
- fr.dyade.aaa.agent.CallbackNotification
-
- org.objectweb.joram.mom.notifications.AbstractNotification
-
- org.objectweb.joram.mom.notifications.AbstractReplyNot
-
- All Implemented Interfaces:
Encodable,Serializable,Cloneable
- Direct Known Subclasses:
BrowseReply,ExceptionReply,QueueMsgReply,SubscribeReply,TopicMsgsReply
public abstract class AbstractReplyNot extends AbstractNotification
AnAbstractReplyis a reply sent by a destination agent to a client agent.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private intcorrelationIdThecorrelationIdfield is equal to the request's identifier.private static longserialVersionUIDdefine serialVersionUID for interoperability, fix with 5.15.0 value-
Fields inherited from class fr.dyade.aaa.agent.Notification
detachable, detached, persistent
-
Fields inherited from interface fr.dyade.aaa.common.encoding.Encodable
BOOLEAN_ENCODED_SIZE, BYTE_ENCODED_SIZE, DOUBLE_ENCODED_SIZE, FLOAT_ENCODED_SIZE, INT_ENCODED_SIZE, LONG_ENCODED_SIZE, SHORT_ENCODED_SIZE
-
-
Constructor Summary
Constructors Constructor Description AbstractReplyNot()Constructs anAbstractReply.AbstractReplyNot(int clientContext, int correlationId)Constructs anAbstractReply.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCorrelationId()Returns the reply identifier.StringBuildertoString(StringBuilder output)Appends a string image for this object to the StringBuilder parameter.-
Methods inherited from class org.objectweb.joram.mom.notifications.AbstractNotification
decode, encode, getClientContext, getEncodedSize, setPersistent
-
Methods inherited from class fr.dyade.aaa.agent.CallbackNotification
done, failed, hasCallback, passCallback, setCountDownCallback
-
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, getDeadNotificationAgentId, getEncodableClassId, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
define serialVersionUID for interoperability, fix with 5.15.0 value- See Also:
- Constant Field Values
-
correlationId
private int correlationId
ThecorrelationIdfield is equal to the request's identifier.
-
-
Method Detail
-
getCorrelationId
public int getCorrelationId()
Returns the reply identifier.
-
toString
public StringBuilder toString(StringBuilder output)
Appends a string image for this object to the StringBuilder parameter.- Overrides:
toStringin classAbstractNotification- Parameters:
output- buffer to fill in- Returns:
outputbuffer is returned
-
-