public static class STATE_TRANSFER.StateHeader extends Header
| Modifier and Type | Field and Description |
|---|---|
protected Digest |
my_digest |
static byte |
STATE_EX |
static byte |
STATE_REQ |
static byte |
STATE_RSP |
protected byte |
type |
| Constructor and Description |
|---|
STATE_TRANSFER.StateHeader() |
STATE_TRANSFER.StateHeader(byte type) |
STATE_TRANSFER.StateHeader(byte type,
Digest digest) |
| Modifier and Type | Method and Description |
|---|---|
Digest |
getDigest() |
int |
getType() |
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 |
size()
To be implemented by subclasses.
|
String |
toString() |
void |
writeTo(DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
public static final byte STATE_REQ
public static final byte STATE_RSP
public static final byte STATE_EX
protected byte type
protected Digest my_digest
public STATE_TRANSFER.StateHeader()
public STATE_TRANSFER.StateHeader(byte type)
public STATE_TRANSFER.StateHeader(byte type,
Digest digest)
public int getType()
public Digest getDigest()
public void writeTo(DataOutput out) throws Exception
StreamableExceptionpublic void readFrom(DataInput in) throws Exception
StreamableExceptionpublic int size()
HeaderCopyright © 2012 JBoss by Red Hat. All Rights Reserved.