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 TypeMethodDescriptionbooleaninthashCode()booleanisCoord()booleanisServer()voidreadFrom(DataInputStream instream) Read the state of the current object (including superclasses) from instream Note that the input stream must not be closedintsize()toString()voidwriteTo(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:StreamableWrite the entire state of the current object (including superclasses) to outstream. Note that the output stream must not be closed- Specified by:
writeToin interfaceStreamable- Throws:
IOException
-
readFrom
public void readFrom(DataInputStream instream) throws IOException, IllegalAccessException, InstantiationException Description copied from interface:StreamableRead the state of the current object (including superclasses) from instream Note that the input stream must not be closed- Specified by:
readFromin interfaceStreamable- Throws:
IOExceptionIllegalAccessExceptionInstantiationException
-