Package org.jgroups.protocols.pbcast
Class JoinRsp
- java.lang.Object
-
- org.jgroups.protocols.pbcast.JoinRsp
-
- All Implemented Interfaces:
java.io.Serializable,Streamable
public class JoinRsp extends java.lang.Object implements java.io.Serializable, Streamable
Result of a JOIN request (sent by the GMS client). Instances of this class are immutable.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DigestgetDigest()java.lang.StringgetFailReason()ViewgetView()voidreadFrom(java.io.DataInputStream in)Read the state of the current object (including superclasses) from instream Note that the input stream must not be closedintserializedSize()voidsetFailReason(java.lang.String r)java.lang.StringtoString()voidwriteTo(java.io.DataOutputStream out)Write the entire state of the current object (including superclasses) to outstream.
-
-
-
Method Detail
-
getView
public View getView()
-
getDigest
public Digest getDigest()
-
getFailReason
public java.lang.String getFailReason()
-
setFailReason
public void setFailReason(java.lang.String r)
-
writeTo
public void writeTo(java.io.DataOutputStream out) throws java.io.IOExceptionDescription 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:
java.io.IOException
-
readFrom
public void readFrom(java.io.DataInputStream in) throws java.io.IOException, java.lang.IllegalAccessException, java.lang.InstantiationExceptionDescription 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:
java.io.IOExceptionjava.lang.IllegalAccessExceptionjava.lang.InstantiationException
-
serializedSize
public int serializedSize()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-