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()
Header
public void writeTo(DataOutput outstream) throws Exception
Streamable
Exception
public void readFrom(DataInput instream) throws Exception
Streamable
Exception
Copyright © 2021 JBoss, a division of Red Hat. All rights reserved.