org.javagroups.protocols.pbcast
Class GMS.GmsHeader

java.lang.Object
  |
  +--org.javagroups.Header
        |
        +--org.javagroups.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.javagroups.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.javagroups.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

JOIN_RSP

public static final int JOIN_RSP

LEAVE_REQ

public static final int LEAVE_REQ

LEAVE_RSP

public static final int LEAVE_RSP

VIEW

public static final int VIEW

MERGE_REQ

public static final int MERGE_REQ

MERGE_RSP

public static final int MERGE_RSP

INSTALL_MERGE_VIEW

public static final int INSTALL_MERGE_VIEW

CANCEL_MERGE

public static final int CANCEL_MERGE
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

readExternal

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


Copyright © 2001,2002 www.javagroups.com . All Rights Reserved.