org.jgroups.protocols.pbcast
Class GMS.GmsHeader

java.lang.Object
  extended byorg.jgroups.Header
      extended byorg.jgroups.protocols.pbcast.GMS.GmsHeader
All Implemented Interfaces:
java.lang.Cloneable, java.io.Externalizable, java.io.Serializable
Enclosing class:
GMS

public static class GMS.GmsHeader
extends Header

See Also:
Serialized Form

Field Summary
static int CANCEL_MERGE
           
static int INSTALL_MERGE_VIEW
           
static int JOIN_REQ
           
static int JOIN_RSP
           
static int LEAVE_REQ
           
static int LEAVE_RSP
           
static int MERGE_REQ
           
static int MERGE_RSP
           
static int VIEW
           
 
Fields inherited from class org.jgroups.Header
HDR_OVERHEAD
 
Constructor Summary
GMS.GmsHeader()
           
GMS.GmsHeader(int type)
           
GMS.GmsHeader(int type, Address mbr)
          Used for JOIN_REQ or LEAVE_REQ header
GMS.GmsHeader(int type, JoinRsp join_rsp)
          Used for JOIN_RSP header
GMS.GmsHeader(int type, View view)
          Used for VIEW header
 
Method Summary
 void readExternal(java.io.ObjectInput in)
           
 java.lang.String toString()
           
static java.lang.String type2String(int type)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class org.jgroups.Header
size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

JOIN_REQ

public static final int JOIN_REQ
See Also:
Constant Field Values

JOIN_RSP

public static final int JOIN_RSP
See Also:
Constant Field Values

LEAVE_REQ

public static final int LEAVE_REQ
See Also:
Constant Field Values

LEAVE_RSP

public static final int LEAVE_RSP
See Also:
Constant Field Values

VIEW

public static final int VIEW
See Also:
Constant Field Values

MERGE_REQ

public static final int MERGE_REQ
See Also:
Constant Field Values

MERGE_RSP

public static final int MERGE_RSP
See Also:
Constant Field Values

INSTALL_MERGE_VIEW

public static final int INSTALL_MERGE_VIEW
See Also:
Constant Field Values

CANCEL_MERGE

public static final int CANCEL_MERGE
See Also:
Constant Field Values
Constructor Detail

GMS.GmsHeader

public GMS.GmsHeader()

GMS.GmsHeader

public GMS.GmsHeader(int type)

GMS.GmsHeader

public GMS.GmsHeader(int type,
                     View view)
Used for VIEW header


GMS.GmsHeader

public GMS.GmsHeader(int type,
                     Address mbr)
Used for JOIN_REQ or LEAVE_REQ header


GMS.GmsHeader

public GMS.GmsHeader(int type,
                     JoinRsp join_rsp)
Used for JOIN_RSP header

Method Detail

toString

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

type2String

public static java.lang.String type2String(int type)

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Throws:
java.io.IOException

readExternal

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


Copyright ? 2001,2002 www.jgroups.com . All Rights Reserved.