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
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 |
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
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
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
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
Copyright ? 2001,2002 www.javagroups.com . All Rights Reserved.