org.jgroups.protocols
public class PingHeader extends Header
Modifier and Type | Field and Description |
---|---|
PingData |
arg |
java.lang.String |
cluster_name |
static byte |
GET_MBRS_REQ |
static byte |
GET_MBRS_RSP |
boolean |
return_view_only |
byte |
type |
Constructor and Description |
---|
PingHeader() |
PingHeader(byte type,
PingData arg) |
PingHeader(byte type,
PingData arg,
java.lang.String cluster_name) |
PingHeader(byte type,
java.lang.String cluster_name) |
Modifier and Type | Method and Description |
---|---|
void |
readFrom(java.io.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.
|
java.lang.String |
toString() |
void |
writeTo(java.io.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 arg
public java.lang.String cluster_name
public boolean return_view_only
public PingHeader()
public PingHeader(byte type, java.lang.String cluster_name)
public PingHeader(byte type, PingData arg)
public PingHeader(byte type, PingData arg, java.lang.String cluster_name)
public int size()
Header
public void writeTo(java.io.DataOutputStream outstream) throws java.io.IOException
Streamable
java.io.IOException
public void readFrom(java.io.DataInputStream instream) throws java.io.IOException, java.lang.IllegalAccessException, java.lang.InstantiationException
Streamable
java.io.IOException
java.lang.IllegalAccessException
java.lang.InstantiationException
Copyright © 1998-2009 Bela Ban / Red Hat. All Rights Reserved.