public class JoinRsp extends java.lang.Object implements Streamable
Modifier and Type | Field and Description |
---|---|
protected Digest |
digest |
protected static byte |
DIGEST_PRESENT |
protected java.lang.String |
fail_reason |
protected static byte |
FAIL_REASON_PRESENT |
protected View |
view |
protected static byte |
VIEW_PRESENT
only set if JOIN failed, e.g.
|
Constructor and Description |
---|
JoinRsp() |
JoinRsp(java.lang.String fail_reason) |
JoinRsp(View v,
Digest d) |
Modifier and Type | Method and Description |
---|---|
Digest |
getDigest() |
java.lang.String |
getFailReason() |
View |
getView() |
void |
readFrom(java.io.DataInput in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
int |
serializedSize() |
JoinRsp |
setFailReason(java.lang.String r) |
java.lang.String |
toString() |
void |
writeTo(java.io.DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
protected View view
protected Digest digest
protected java.lang.String fail_reason
protected static final byte VIEW_PRESENT
protected static final byte DIGEST_PRESENT
protected static final byte FAIL_REASON_PRESENT
public View getView()
public Digest getDigest()
public java.lang.String getFailReason()
public JoinRsp setFailReason(java.lang.String r)
public void writeTo(java.io.DataOutput out) throws java.lang.Exception
Streamable
writeTo
in interface Streamable
java.lang.Exception
public void readFrom(java.io.DataInput in) throws java.lang.Exception
Streamable
readFrom
in interface Streamable
java.lang.Exception
public int serializedSize()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1998-2020 Red Hat. All Rights Reserved.