fr.dyade.aaa.agent
Interface BagSerializer

All Known Implementing Classes:
Container, UserAgent

public interface BagSerializer

This interface is used by object that need to carry additionnal data between HA nodes.


Method Summary
 void readBag(java.io.ObjectInputStream in)
          The readBag method is responsible for reading from the stream and restoring the agent's transient state.
 void writeBag(java.io.ObjectOutputStream out)
          The writeBag method is responsible for writing the extra data of this particular agent so that the corresponding readBag method can restore it.
 

Method Detail

readBag

public void readBag(java.io.ObjectInputStream in)
             throws java.io.IOException,
                    java.lang.ClassNotFoundException
The readBag method is responsible for reading from the stream and restoring the agent's transient state.

Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeBag

public void writeBag(java.io.ObjectOutputStream out)
              throws java.io.IOException
The writeBag method is responsible for writing the extra data of this particular agent so that the corresponding readBag method can restore it.

Throws:
java.io.IOException


Copyright ? 2004 Scalagent - All rights reserved