org.jgroups.protocols.pbcast
Class GMS.GmsHeader
- GMS
- Externalizable, Streamable
public static class GMS.GmsHeader
Address | getMemeber()
|
byte | getType()
|
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 | type2String(int type)
|
void | writeExternal(ObjectOutput out)
|
void | writeTo(DataOutputStream out) - Write the entire state of the current object (including superclasses) to outstream.
|
CANCEL_MERGE
public static final byte CANCEL_MERGE
INSTALL_MERGE_VIEW
public static final byte INSTALL_MERGE_VIEW
JOIN_REQ
public static final byte JOIN_REQ
JOIN_RSP
public static final byte JOIN_RSP
LEAVE_REQ
public static final byte LEAVE_REQ
LEAVE_RSP
public static final byte LEAVE_RSP
MERGE_REQ
public static final byte MERGE_REQ
MERGE_RSP
public static final byte MERGE_RSP
VIEW
public static final byte VIEW
VIEW_ACK
public static final byte VIEW_ACK
GmsHeader
public GmsHeader()
GmsHeader
public GmsHeader(byte type)
GmsHeader
public GmsHeader(byte type,
Address mbr)
Used for JOIN_REQ or LEAVE_REQ header
GmsHeader
public GmsHeader(byte type,
View view)
Used for VIEW header
GmsHeader
public GmsHeader(byte type,
JoinRsp join_rsp)
Used for JOIN_RSP header
getMemeber
public Address getMemeber()
getType
public byte getType()
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
type2String
public static String type2String(int type)
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.