fr.dyade.aaa.agent
Class AgentCreateRequest

java.lang.Object
  extended by fr.dyade.aaa.agent.Notification
      extended by fr.dyade.aaa.agent.AgentCreateRequest
All Implemented Interfaces:
java.io.Serializable, java.lang.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
(package private)  byte[] agentState
          Serialized state of the agent
(package private)  AgentId deploy
          Id. of agent to deploy, used since id is not more serialized in agent state.
 AgentId reply
          Id. of agent to reply to
(package private) static long serialVersionUID
           
 
Fields inherited from class fr.dyade.aaa.agent.Notification
deadNotificationAgentId, detachable, detached, expiration, messageId, persistent, priority
 
Constructor Summary
AgentCreateRequest(Agent agent)
           
AgentCreateRequest(Agent agent, AgentId reply)
           
 
Method Summary
 AgentId getDeploy()
           
 
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, getDeadNotificationAgentId, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 java.io.IOException
Throws:
java.io.IOException

AgentCreateRequest

public AgentCreateRequest(Agent agent,
                          AgentId reply)
                   throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getDeploy

public final AgentId getDeploy()


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.