Package fr.dyade.aaa.agent
Class AgentCreateRequest
- java.lang.Object
-
- fr.dyade.aaa.agent.Notification
-
- fr.dyade.aaa.agent.AgentCreateRequest
-
- All Implemented Interfaces:
Encodable,Serializable,Cloneable
public final class AgentCreateRequest extends Notification
This notification is used to ask aa agent creation to a remote agent factory.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) byte[]agentStateSerialized state of the agent(package private) AgentIddeployId. of agent to deploy, used since id is not more serialized in agent state.AgentIdreplyId. of agent to reply to(package 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 AgentCreateRequest(Agent agent)AgentCreateRequest(Agent agent, AgentId reply)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentIdgetDeploy()-
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, toString
-
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
-
reply
public AgentId reply
Id. of agent to reply to
-
deploy
AgentId deploy
Id. of agent to deploy, used since id is not more serialized in agent state.
-
agentState
byte[] agentState
Serialized state of the agent
-
-
Constructor Detail
-
AgentCreateRequest
public AgentCreateRequest(Agent agent) throws IOException
- Throws:
IOException
-
AgentCreateRequest
public AgentCreateRequest(Agent agent, AgentId reply) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getDeploy
public final AgentId getDeploy()
-
-