org.jgroups.protocols
Class UNICAST.UnicastHeader
- UNICAST
- Externalizable, Streamable
public static class UNICAST.UnicastHeader
void | readExternal(ObjectInput in)
|
void | readFrom(DataInputStream in) - Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
long | size()
|
String | toString()
|
static String | type2Str(byte t)
|
void | writeExternal(ObjectOutput out)
|
void | writeTo(DataOutputStream out) - Write the entire state of the current object (including superclasses) to outstream.
|
ACK
public static final byte ACK
DATA
public static final byte DATA
UnicastHeader
public UnicastHeader()
UnicastHeader
public UnicastHeader(byte type,
long seqno)
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readFrom
public void readFrom(DataInputStream in)
throws IOException,
IllegalAccessException,
InstantiationException
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
- readFrom in interface Streamable
size
public final long size()
- size in interface Header
type2Str
public static String type2Str(byte t)
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
writeTo
public void writeTo(DataOutputStream out)
throws IOException
Write the entire state of the current object (including superclasses) to outstream.
Note that the output stream must not be closed
- writeTo in interface Streamable
Copyright B) 1998-2005 Bela Ban. All Rights Reserved.