public class JoinRsp extends Object implements Streamable
Modifier and Type | Field and Description |
---|---|
protected Digest |
digest |
protected static byte |
DIGEST_PRESENT |
protected 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(String fail_reason) |
JoinRsp(View v,
Digest d) |
Modifier and Type | Method and Description |
---|---|
Digest |
getDigest() |
String |
getFailReason() |
View |
getView() |
void |
readFrom(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(String r) |
String |
toString() |
void |
writeTo(DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
protected View view
protected Digest digest
protected String fail_reason
protected static final byte VIEW_PRESENT
protected static final byte DIGEST_PRESENT
protected static final byte FAIL_REASON_PRESENT
public JoinRsp()
public JoinRsp(String fail_reason)
public View getView()
public Digest getDigest()
public String getFailReason()
public void writeTo(DataOutput out) throws Exception
Streamable
writeTo
in interface Streamable
Exception
public void readFrom(DataInput in) throws Exception
Streamable
readFrom
in interface Streamable
Exception
public int serializedSize()
Copyright © 2019 JBoss, a division of Red Hat. All rights reserved.