public static class STATE_TRANSFER.StateHeader extends Header
Modifier and Type | Field and Description |
---|---|
static byte |
STATE_REQ |
static byte |
STATE_RSP |
Constructor and Description |
---|
STATE_TRANSFER.StateHeader() |
STATE_TRANSFER.StateHeader(byte type,
Address sender,
long id,
Digest digest) |
STATE_TRANSFER.StateHeader(byte type,
Address sender,
long id,
Digest digest,
String state_id) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Digest |
getDigest() |
String |
getStateId() |
int |
getType() |
int |
hashCode() |
void |
readFrom(DataInputStream 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(DataOutputStream 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 STATE_TRANSFER.StateHeader()
public STATE_TRANSFER.StateHeader(byte type, Address sender, long id, Digest digest)
public int getType()
public Digest getDigest()
public String getStateId()
public void writeTo(DataOutputStream out) throws IOException
Streamable
IOException
public void readFrom(DataInputStream in) throws IOException, IllegalAccessException, InstantiationException
Streamable
public int size()
Header
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.