|
|||||||||
| Home >> All >> org >> jgroups >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jgroups.util
Interface Streamable

- All Known Implementing Classes:
- Range
- public interface Streamable
Implementations of Streamable can add their state directly to the output stream, enabling them to bypass costly serialization
- Version:
- $Id: Streamable.java,v 1.2 2005/07/25 16:21:47 belaban Exp $
| Method Summary | |
void |
readFrom(java.io.DataInputStream in)
Read the state of the current object (including superclasses) from instream Note that the input stream must not be closed |
void |
writeTo(java.io.DataOutputStream out)
Write the entire state of the current object (including superclasses) to outstream. |
| Method Detail |
writeTo
public void writeTo(java.io.DataOutputStream out) throws java.io.IOException
- Write the entire state of the current object (including superclasses) to outstream.
Note that the output stream must not be closed
readFrom
public void readFrom(java.io.DataInputStream in) throws java.io.IOException, java.lang.IllegalAccessException, java.lang.InstantiationException
- Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
|||||||||
| Home >> All >> org >> jgroups >> [ util overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC