org.jgroups.protocols.pbcast
Class NakAckHeader
- Externalizable, Streamable
public class NakAckHeader
NakAckHeader | copy()
|
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.
|
MSG
public static final byte MSG
XMIT_REQ
public static final byte XMIT_REQ
XMIT_RSP
public static final byte XMIT_RSP
NakAckHeader
public NakAckHeader()
NakAckHeader
public NakAckHeader(byte type,
long seqno)
Constructor for regular messages
NakAckHeader
public NakAckHeader(byte type,
long low,
long high)
Constructor for retransmit requests/responses (low and high define the range of msgs)
NakAckHeader
public NakAckHeader(byte type,
long low,
long high,
Address sender)
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
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.