public class JoinRsp extends Object implements Streamable
Modifier and Type | Field and Description |
---|---|
protected static byte |
DIGEST_PRESENT |
protected static byte |
FAIL_REASON_PRESENT |
protected static byte |
VIEW_PRESENT |
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() |
void |
setFailReason(String r) |
String |
toString() |
void |
writeTo(DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
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 setFailReason(String r)
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 © 2012 JBoss by Red Hat. All Rights Reserved.