Package fr.dyade.aaa.agent
Class UnknownAgent
- java.lang.Object
-
- fr.dyade.aaa.agent.Notification
-
- fr.dyade.aaa.agent.UnknownAgent
-
- All Implemented Interfaces:
Encodable,Serializable,Cloneable
public class UnknownAgent extends Notification
Notify by the engine to the sender of a notification when the target agent does not exist.- See Also:
Engine, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description AgentIdagentThe non-existent target agent id.NotificationnotThe failing notification that can not be delivered.(package private) static longserialVersionUIDdefine serialVersionUID for interoperability-
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 UnknownAgent(AgentId agent, Notification not)Allocates a newUnknownAgentnotification.
-
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
static final long serialVersionUID
define serialVersionUID for interoperability- See Also:
- Constant Field Values
-
agent
public AgentId agent
The non-existent target agent id.
-
not
public Notification not
The failing notification that can not be delivered.
-
-
Constructor Detail
-
UnknownAgent
public UnknownAgent(AgentId agent, Notification not)
Allocates a newUnknownAgentnotification.- Parameters:
agent- The non-existent target agent id.not- The failing notification that can not be delivered.
-
-
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
-
-