public class PingData extends Object implements SizeStreamable
| Modifier and Type | Field and Description |
|---|---|
protected byte |
flags |
protected static byte |
is_coord |
protected static byte |
is_server |
protected String |
logical_name |
protected Collection<? extends Address> |
mbrs |
protected PhysicalAddress |
physical_addr |
protected Address |
sender |
| Constructor and Description |
|---|
PingData() |
PingData(Address sender,
boolean is_server) |
PingData(Address sender,
boolean is_server,
String logical_name,
PhysicalAddress physical_addr) |
PingData(Address sender,
View view,
boolean is_server,
String logical_name,
Collection<PhysicalAddress> physical_addrs)
Deprecated.
Use the constructor wityh a single PhysicalAddress instead
|
PingData(Address sender,
View view,
ViewId view_id,
boolean is_server,
String logical_name,
Collection<PhysicalAddress> physical_addrs)
Deprecated.
Use the constructor with a single PhysicalAddress instead
|
| Modifier and Type | Method and Description |
|---|---|
PingData |
coord(boolean c) |
boolean |
equals(Object obj) |
Address |
getAddress() |
String |
getLogicalName() |
PhysicalAddress |
getPhysicalAddr() |
Collection<PhysicalAddress> |
getPhysicalAddrs()
Deprecated.
|
int |
hashCode() |
boolean |
isCoord() |
boolean |
isServer() |
Collection<? extends Address> |
mbrs() |
PingData |
mbrs(Collection<? extends Address> mbrs) |
void |
readFrom(DataInput instream)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
PingData |
server(boolean c) |
int |
size()
Returns the size (in bytes) of the marshalled object
|
String |
toString() |
void |
writeTo(DataOutput outstream)
Write the entire state of the current object (including superclasses) to outstream.
|
protected Address sender
protected byte flags
protected String logical_name
protected PhysicalAddress physical_addr
protected Collection<? extends Address> mbrs
protected static final byte is_server
protected static final byte is_coord
public PingData()
public PingData(Address sender, boolean is_server)
@Deprecated public PingData(Address sender, View view, boolean is_server, String logical_name, Collection<PhysicalAddress> physical_addrs)
public PingData(Address sender, boolean is_server, String logical_name, PhysicalAddress physical_addr)
@Deprecated public PingData(Address sender, View view, ViewId view_id, boolean is_server, String logical_name, Collection<PhysicalAddress> physical_addrs)
public PingData coord(boolean c)
public PingData server(boolean c)
public boolean isCoord()
public boolean isServer()
public Address getAddress()
public String getLogicalName()
@Deprecated public Collection<PhysicalAddress> getPhysicalAddrs()
public PhysicalAddress getPhysicalAddr()
public PingData mbrs(Collection<? extends Address> mbrs)
public Collection<? extends Address> mbrs()
public int size()
SizeStreamablesize in interface SizeStreamablepublic void writeTo(DataOutput outstream) throws Exception
StreamablewriteTo in interface StreamableExceptionpublic void readFrom(DataInput instream) throws Exception
StreamablereadFrom in interface StreamableExceptionCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.