org.jgroups.protocols
Class JOLSR_UNICAST.UnicastHeader

java.lang.Object
  extended by org.jgroups.Header
      extended by org.jgroups.protocols.JOLSR_UNICAST.UnicastHeader
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, org.jgroups.util.Streamable
Enclosing class:
JOLSR_UNICAST

public static class JOLSR_UNICAST.UnicastHeader
extends org.jgroups.Header
implements org.jgroups.util.Streamable

See Also:
Serialized Form

Field Summary
static byte ACK
           
static byte DATA
           
(package private)  long seqno
           
(package private) static int serialized_size
           
(package private)  byte type
           
 
Fields inherited from class org.jgroups.Header
HDR_OVERHEAD
 
Constructor Summary
JOLSR_UNICAST.UnicastHeader()
           
JOLSR_UNICAST.UnicastHeader(byte type, long seqno)
           
 
Method Summary
 void readExternal(java.io.ObjectInput in)
           
 void readFrom(java.io.DataInputStream in)
           
 int size()
           
 java.lang.String toString()
           
static java.lang.String type2Str(byte t)
           
 void writeExternal(java.io.ObjectOutput out)
           
 void writeTo(java.io.DataOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DATA

public static final byte DATA
See Also:
Constant Field Values

ACK

public static final byte ACK
See Also:
Constant Field Values

serialized_size

static final int serialized_size
See Also:
Constant Field Values

type

byte type

seqno

long seqno
Constructor Detail

JOLSR_UNICAST.UnicastHeader

public JOLSR_UNICAST.UnicastHeader()

JOLSR_UNICAST.UnicastHeader

public JOLSR_UNICAST.UnicastHeader(byte type,
                                   long seqno)
Method Detail

type2Str

public static java.lang.String type2Str(byte t)

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

readFrom

public void readFrom(java.io.DataInputStream in)
              throws java.io.IOException,
                     java.lang.IllegalAccessException,
                     java.lang.InstantiationException
Specified by:
readFrom in interface org.jgroups.util.Streamable
Throws:
java.io.IOException
java.lang.IllegalAccessException
java.lang.InstantiationException

size

public final int size()
Overrides:
size in class org.jgroups.Header

toString

public java.lang.String toString()
Overrides:
toString in class org.jgroups.Header

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

writeTo

public void writeTo(java.io.DataOutputStream out)
             throws java.io.IOException
Specified by:
writeTo in interface org.jgroups.util.Streamable
Throws:
java.io.IOException