public class PingData extends java.lang.Object implements SizeStreamable
Modifier and Type | Field and Description |
---|---|
protected byte |
flags |
protected static byte |
is_coord |
protected static byte |
is_server |
protected java.lang.String |
logical_name |
protected java.util.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,
java.lang.String logical_name,
PhysicalAddress physical_addr) |
PingData(Address sender,
View view,
boolean is_server,
java.lang.String logical_name,
java.util.Collection<PhysicalAddress> physical_addrs)
Deprecated.
Use the constructor wityh a single PhysicalAddress instead
|
PingData(Address sender,
View view,
ViewId view_id,
boolean is_server,
java.lang.String logical_name,
java.util.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(java.lang.Object obj) |
Address |
getAddress() |
java.lang.String |
getLogicalName() |
PhysicalAddress |
getPhysicalAddr() |
java.util.Collection<PhysicalAddress> |
getPhysicalAddrs()
Deprecated.
|
int |
hashCode() |
boolean |
isCoord() |
boolean |
isServer() |
java.util.Collection<? extends Address> |
mbrs() |
PingData |
mbrs(java.util.Collection<? extends Address> mbrs) |
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
|
PingData |
server(boolean c) |
int |
size()
Returns the size (in bytes) of the marshalled object
|
java.lang.String |
toString() |
void |
writeTo(java.io.DataOutput outstream)
Write the entire state of the current object (including superclasses) to outstream.
|
protected Address sender
protected byte flags
protected java.lang.String logical_name
protected PhysicalAddress physical_addr
protected java.util.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, java.lang.String logical_name, java.util.Collection<PhysicalAddress> physical_addrs)
public PingData(Address sender, boolean is_server, java.lang.String logical_name, PhysicalAddress physical_addr)
@Deprecated public PingData(Address sender, View view, ViewId view_id, boolean is_server, java.lang.String logical_name, java.util.Collection<PhysicalAddress> physical_addrs)
public PingData coord(boolean c)
public PingData server(boolean c)
public boolean isCoord()
public boolean isServer()
public Address getAddress()
public java.lang.String getLogicalName()
@Deprecated public java.util.Collection<PhysicalAddress> getPhysicalAddrs()
public PhysicalAddress getPhysicalAddr()
public java.util.Collection<? extends Address> mbrs()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int size()
SizeStreamable
size
in interface SizeStreamable
public void writeTo(java.io.DataOutput outstream) throws java.lang.Exception
Streamable
writeTo
in interface Streamable
java.lang.Exception
public void readFrom(java.io.DataInput instream) throws java.lang.Exception
Streamable
readFrom
in interface Streamable
java.lang.Exception
Copyright © 1998-2020 Red Hat. All Rights Reserved.