public class PingHeader extends Header
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
cluster_name |
static byte |
GET_MBRS_REQ |
static byte |
GET_MBRS_RSP |
protected byte |
type |
Constructor and Description |
---|
PingHeader() |
PingHeader(byte type) |
Modifier and Type | Method and Description |
---|---|
PingHeader |
clusterName(java.lang.String name) |
void |
readFrom(java.io.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.
|
java.lang.String |
toString() |
byte |
type() |
void |
writeTo(java.io.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
protected byte type
protected java.lang.String cluster_name
public byte type()
public PingHeader clusterName(java.lang.String name)
public int size()
Header
public void writeTo(java.io.DataOutput outstream) throws java.lang.Exception
Streamable
java.lang.Exception
public void readFrom(java.io.DataInput instream) throws java.lang.Exception
Streamable
java.lang.Exception
Copyright © 1998-2020 Red Hat. All Rights Reserved.