protected static class FORWARD_TO_COORD.ForwardHeader extends Header
Modifier and Type | Field and Description |
---|---|
protected static byte |
ACK |
protected long |
id |
protected static byte |
MSG |
protected static byte |
NOT_COORD |
protected byte |
type |
Constructor and Description |
---|
ForwardHeader() |
ForwardHeader(byte type,
long id) |
Modifier and Type | Method and Description |
---|---|
long |
getId() |
byte |
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() |
protected static String |
typeToString(byte type) |
void |
writeTo(DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
protected static final byte MSG
protected static final byte ACK
protected static final byte NOT_COORD
protected byte type
protected long id
public ForwardHeader()
public ForwardHeader(byte type, long id)
public long getId()
public byte getType()
public int size()
Header
public void writeTo(DataOutput out) throws Exception
Streamable
Exception
public void readFrom(DataInput in) throws Exception
Streamable
Exception
protected static String typeToString(byte type)
Copyright © 2016 JBoss, a division of Red Hat. All rights reserved.