public class PingHeader extends Header
Modifier and Type | Field and Description |
---|---|
String |
cluster_name |
PingData |
data |
static byte |
GET_MBRS_REQ |
static byte |
GET_MBRS_RSP |
byte |
type |
ViewId |
view_id |
Constructor and Description |
---|
PingHeader() |
PingHeader(byte type,
PingData data) |
PingHeader(byte type,
PingData data,
String cluster_name) |
PingHeader(byte type,
String cluster_name) |
Modifier and Type | Method and Description |
---|---|
void |
readFrom(DataInput instream)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
int |
size()
To be implemented by subclasses.
|
String |
toString() |
void |
writeTo(DataOutput outstream)
Write the entire state of the current object (including superclasses) to outstream.
|
public static final byte GET_MBRS_REQ
public static final byte GET_MBRS_RSP
public byte type
public PingData data
public String cluster_name
public ViewId view_id
public PingHeader()
public PingHeader(byte type, String cluster_name)
public PingHeader(byte type, PingData data)
public int size()
Header
public void writeTo(DataOutput outstream) throws Exception
Streamable
Exception
public void readFrom(DataInput instream) throws Exception
Streamable
Exception
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.