|
Joram ${version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.dyade.aaa.agent.Agent
org.objectweb.joram.mom.proxies.UserAgent
Class of a user proxy agent.
| Field Summary |
| Fields inherited from class fr.dyade.aaa.agent.Agent |
fixed, logmon, name, nullName |
| Constructor Summary | |
UserAgent()
Creates a new user proxy. |
|
UserAgent(int stamp)
Creates a new user proxy. |
|
| Method Summary | |
void |
agentFinalize(boolean lastTime)
Finalizes the agent before it is garbaged. |
void |
agentInitialize(boolean firstTime)
(Re)initializes the agent when (re)loading. |
void |
react(fr.dyade.aaa.agent.AgentId from,
fr.dyade.aaa.agent.Notification not)
Overrides the Agent class react method for
providing the JMS client proxy with its specific behaviour. |
void |
readBag(java.io.ObjectInputStream in)
|
void |
sendNot(fr.dyade.aaa.agent.AgentId to,
fr.dyade.aaa.agent.Notification not)
Sends a notification to the specified agent. |
void |
sendToClient(int key,
AbstractJmsReply reply)
Sends a reply to the client connected through the specified connection. |
void |
setNoSave()
|
void |
setSave()
|
void |
writeBag(java.io.ObjectOutputStream out)
|
| Methods inherited from class fr.dyade.aaa.agent.Agent |
delete, delete, deploy, deploy, getAgentId, getId, getLogTopic, getName, isDeployed, isFixed, needToBeCommited, save, sendTo, sendTo, sendTo, setName, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.objectweb.joram.mom.proxies.ProxyAgentItf |
getId |
| Constructor Detail |
public UserAgent()
AdminTopicImpl,
ConnectionManagerpublic UserAgent(int stamp)
AdminTopicImpl,
ConnectionManager| Method Detail |
public void agentInitialize(boolean firstTime)
throws java.lang.Exception
java.lang.Exceptionpublic void agentFinalize(boolean lastTime)
public void react(fr.dyade.aaa.agent.AgentId from,
fr.dyade.aaa.agent.Notification not)
throws java.lang.Exception
Agent class react method for
providing the JMS client proxy with its specific behaviour.
A JMS proxy specifically reacts to the following notifications:
OpenConnectionNot
java.lang.Exception
public void sendNot(fr.dyade.aaa.agent.AgentId to,
fr.dyade.aaa.agent.Notification not)
sendNot in interface ProxyAgentItfto - the identifier of the recipient agentnot - the notification to send
public void sendToClient(int key,
AbstractJmsReply reply)
sendToClient in interface ProxyAgentItfkey - the key of the connection the client
is connected through.reply - the reply to send to the client.public void setNoSave()
setNoSave in interface ProxyAgentItfpublic void setSave()
setSave in interface ProxyAgentItf
public void readBag(java.io.ObjectInputStream in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readBag in interface fr.dyade.aaa.agent.BagSerializerjava.io.IOException
java.lang.ClassNotFoundException
public void writeBag(java.io.ObjectOutputStream out)
throws java.io.IOException
writeBag in interface fr.dyade.aaa.agent.BagSerializerjava.io.IOException
|
Joram ${version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||