fr.dyade.aaa.jndi2.ha.HARequestManager Class Reference

Inherits fr.dyade.aaa.jndi2.server.LifeCycleListener, and fr.dyade.aaa.agent.BagSerializer.

Inheritance diagram for fr.dyade.aaa.jndi2.ha.HARequestManager:

Inheritance graph
[legend]
Collaboration diagram for fr.dyade.aaa.jndi2.ha.HARequestManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void setRequestManager (RequestManager manager)
void agentInitialize (boolean firstTime) throws Exception
void agentFinalize (boolean lastTime)
void writeBag (ObjectOutputStream out) throws IOException
void readBag (ObjectInputStream in) throws IOException, ClassNotFoundException

Static Public Attributes

static final int IDEMPOTENT = -2
static final int NOT_IDEMPOTENT = -1
static final String HA_REQUEST_COUNTER = "haRequestCounter"

Package Functions

void doReact (GetRequestIdNot not)
void doReact (TcpRequestNot not) throws Exception
void removeContext (int id)

Detailed Description

Definition at line 34 of file HARequestManager.java.


Member Function Documentation

void fr.dyade.aaa.jndi2.ha.HARequestManager.writeBag ( ObjectOutputStream  out  )  throws IOException

The writeBag method is responsible for writing the extra data of this particular agent so that the corresponding readBag method can restore it.

Implements fr.dyade.aaa.agent.BagSerializer.

Definition at line 141 of file HARequestManager.java.

References fr.dyade.aaa.jndi2.server.RequestManager.writeBag().

Here is the call graph for this function:

void fr.dyade.aaa.jndi2.ha.HARequestManager.readBag ( ObjectInputStream  in  )  throws IOException, ClassNotFoundException

The readBag method is responsible for reading from the stream and restoring the agent's transient state.

Implements fr.dyade.aaa.agent.BagSerializer.

Definition at line 148 of file HARequestManager.java.

References fr.dyade.aaa.jndi2.server.RequestManager.readBag().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:17:05 2008 for joram by  doxygen 1.5.0