org.jgroups.util
Interface Streamable
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 $
Author: Bela Ban
Method Summary |
void | readFrom(DataInputStream in) Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed |
void | writeTo(DataOutputStream out) Write the entire state of the current object (including superclasses) to outstream.
|
public void readFrom(DataInputStream in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
public void writeTo(DataOutputStream out)
Write the entire state of the current object (including superclasses) to outstream.
Note that the output stream must not be closed
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.