org.jgroups.protocols.pbcast
public static class GMS.GmsHeader extends Header implements Streamable
| Field Summary | |
|---|---|
| static byte | CANCEL_MERGE |
| static byte | INSTALL_MERGE_VIEW |
| static byte | JOIN_REQ |
| static byte | JOIN_RSP |
| static byte | LEAVE_REQ |
| static byte | LEAVE_RSP |
| static byte | MERGE_REQ |
| static byte | MERGE_RSP |
| static byte | VIEW |
| static byte | VIEW_ACK |
| Constructor Summary | |
|---|---|
| GmsHeader() | |
| GmsHeader(byte type) | |
| GmsHeader(byte type, View view) Used for VIEW header | |
| GmsHeader(byte type, Address mbr) Used for JOIN_REQ or LEAVE_REQ header | |
| GmsHeader(byte type, JoinRsp join_rsp) Used for JOIN_RSP header | |
| Method Summary | |
|---|---|
| Address | getMemeber() |
| byte | getType() |
| void | readExternal(ObjectInput in) |
| void | readFrom(DataInputStream in) |
| long | size() |
| String | toString() |
| static String | type2String(int type) |
| void | writeExternal(ObjectOutput out) |
| void | writeTo(DataOutputStream out) |