fr.dyade.aaa.agent

Interface BagSerializer

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(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.

Method Details

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