Package org.jgroups.protocols
Class PingRsp
java.lang.Object
org.jgroups.protocols.PingRsp
- All Implemented Interfaces:
Serializable
,Streamable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
boolean
isCoord()
boolean
isServer()
void
readFrom
(DataInputStream instream) Read the state of the current object (including superclasses) from instream Note that the input stream must not be closedint
size()
toString()
void
writeTo
(DataOutputStream outstream) Write the entire state of the current object (including superclasses) to outstream.
-
Field Details
-
own_addr
-
coord_addr
-
is_server
public boolean is_server
-
-
Constructor Details
-
PingRsp
public PingRsp() -
PingRsp
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
isCoord
public boolean isCoord() -
size
public int size() -
getAddress
-
getCoordAddress
-
isServer
public boolean isServer() -
toString
-
writeTo
Description copied from interface:Streamable
Write the entire state of the current object (including superclasses) to outstream. Note that the output stream must not be closed- Specified by:
writeTo
in interfaceStreamable
- Throws:
IOException
-
readFrom
public void readFrom(DataInputStream instream) throws IOException, IllegalAccessException, InstantiationException Description copied from interface:Streamable
Read the state of the current object (including superclasses) from instream Note that the input stream must not be closed- Specified by:
readFrom
in interfaceStreamable
- Throws:
IOException
IllegalAccessException
InstantiationException
-