Package fr.dyade.aaa.agent
Class UnknownNotification
- java.lang.Object
-
- fr.dyade.aaa.agent.Notification
-
- fr.dyade.aaa.agent.UnknownNotification
-
- All Implemented Interfaces:
Encodable,Serializable,Cloneable
public class UnknownNotification extends Notification
Notify by agents when there is no reaction allowed.- See Also:
Agent, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description AgentIdagentThe target agent id.NotificationnotThe failing notification.private static longserialVersionUID-
Fields inherited from class fr.dyade.aaa.agent.Notification
deadNotificationAgentId, detachable, detached, expiration, messageId, persistent, priority
-
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 UnknownNotification(AgentId agent, Notification not)Allocates a newUnknownNotificationnotification.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuildertoString(StringBuilder output)Appends a string image for this object to the StringBuilder parameter.-
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, decode, encode, getContext, getDeadNotificationAgentId, getEncodableClassId, getEncodedSize, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
agent
public AgentId agent
The target agent id.
-
not
public Notification not
The failing notification.
-
-
Constructor Detail
-
UnknownNotification
public UnknownNotification(AgentId agent, Notification not)
Allocates a newUnknownNotificationnotification.- Parameters:
agent- The target agent id.not- The failing notification.
-
-
Method Detail
-
toString
public StringBuilder toString(StringBuilder output)
Appends a string image for this object to the StringBuilder parameter.- Overrides:
toStringin classNotification- Parameters:
output- buffer to fill in- Returns:
outputbuffer is returned
-
-