|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbandy.io.SerializationBuffer
public class SerializationBuffer
The SerializationBuffer is a temporary reservoir for the attributes of every
serializable object that is serialized/deserialized. Thus, it holds a
collection of ValueContainers. Moreover, it must hold every stateful
variables that is used during the serialization/deserialization process.
(c) Copyright P. Bolliger 2007, ALL RIGHTS RESERVED.
| Constructor Summary | |
|---|---|
SerializationBuffer()
|
|
| Method Summary | |
|---|---|
void |
addContainer(ValueContainer container)
Add a new container to the buffer.container(). |
ValueContainer |
container()
Returns the current container object. |
java.util.Vector |
getValueContainers()
Returns the vector containing all value container objects. |
void |
removeContainer(ValueContainer container)
Removes the given container from the list. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SerializationBuffer()
| Method Detail |
|---|
public java.util.Vector getValueContainers()
public ValueContainer container()
public void addContainer(ValueContainer container)
container - New buffer.container().public void removeContainer(ValueContainer container)
container - The container that will be removed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||