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(DataInputStream 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(DataOutputStream 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(DataOutputStream outstream) throws IOException
Streamable
IOException
public void readFrom(DataInputStream instream) throws IOException, IllegalAccessException, InstantiationException
Streamable
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.