public class JoinRsp extends java.lang.Object implements Streamable
限定符和类型 | 字段和说明 |
---|---|
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. in AUTH
|
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 Streamable
java.lang.Exception
public void readFrom(java.io.DataInput in) throws java.lang.Exception
Streamable
readFrom
在接口中 Streamable
java.lang.Exception
public int serializedSize()
public java.lang.String toString()
toString
在类中 java.lang.Object