|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthla.rti.OrderType
Represents a type of message ordering.
| Field Summary | |
static OrderType |
RECEIVE
The receive-order type. |
static OrderType |
TIMESTAMP
The timestamp-order type. |
| Constructor Summary | |
OrderType(OrderType otherOrderType)
Copy constructor. |
|
| Method Summary | |
static OrderType |
decode(byte[] buffer,
int offset)
Decodes an order type stored within the specified buffer and returns a corresponding OrderType instance. |
void |
encode(byte[] buffer,
int offset)
Encodes this order type, placing the result into the specified buffer. |
int |
encodedLength()
Returns the encoded length of this order type. |
boolean |
equals(java.lang.Object otherOrderType)
Compares this order type for equality with another. |
int |
hashCode()
Computes and returns a hash code corresponding to this order type. |
java.lang.String |
toString()
Returns a string representation of this order type. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final OrderType RECEIVE
public static final OrderType TIMESTAMP
| Constructor Detail |
public OrderType(OrderType otherOrderType)
otherOrderType - the order type to copy| Method Detail |
public static OrderType decode(byte[] buffer,
int offset)
throws CouldNotDecode
OrderType instance.
buffer - the buffer in which the encoded value is storedoffset - the offset within the buffer at which the encoded
value is located
OrderType corresponding to the decoded
value
CouldNotDecode - if the order type could not be decodedpublic boolean equals(java.lang.Object otherOrderType)
otherOrderType - the other order type
true if the two order types are equal,
false otherwisepublic int hashCode()
public int encodedLength()
public void encode(byte[] buffer,
int offset)
buffer - the buffer in which to place the encoded valueoffset - the offset within the buffer at which to store the encoded
valuepublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||