fr.dyade.aaa.agent
Interface BagSerializer
- Container, UserAgent
public interface BagSerializer
This interface is used by object that need to carry additionnal data
between HA nodes.
void | readBag(ObjectInputStream in) - The readBag method is responsible for reading from the stream and
restoring the agent's transient state.
|
void | writeBag(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.
|
readBag
public void readBag(ObjectInputStream in)
throws IOException,
ClassNotFoundException
The readBag method is responsible for reading from the stream and
restoring the agent's transient state.
writeBag
public void 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.
Copyright B) 2004 Scalagent - All rights reserved