public class PingHeader extends Header
| Modifier and Type | Field and Description |
|---|---|
protected 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(String name) |
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() |
byte |
type() |
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
protected byte type
protected String cluster_name
public byte type()
public PingHeader clusterName(String name)
public int size()
Headerpublic void writeTo(DataOutput outstream) throws Exception
StreamableExceptionpublic void readFrom(DataInput instream) throws Exception
StreamableExceptionCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.