public final class ExchangeMessage extends java.lang.Object implements IMessage, java.lang.Comparable<ExchangeMessage>, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
byte |
connection |
java.lang.String |
contents |
byte |
continuation |
int |
feedID
A unique identifier for the feed.
|
static int |
ID |
long |
timeArrival
Timestamp of arrival at the handler within Whisperer.
|
| Modifier | Constructor and Description |
|---|---|
|
ExchangeMessage() |
protected |
ExchangeMessage(ProtoByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ExchangeMessage rhs) |
void |
deserialize(ProtoByteBuffer buffer) |
protected void |
dump(TextWriter wr) |
boolean |
equals(java.lang.Object rhs) |
int |
getMsgType() |
int |
hashCode() |
void |
serialize(ProtoByteBuffer buffer) |
java.lang.String |
toString() |
public long timeArrival
public int feedID
public byte connection
public byte continuation
public java.lang.String contents
public static final int ID
public ExchangeMessage()
protected ExchangeMessage(ProtoByteBuffer buffer)
public int getMsgType()
getMsgType in interface IMessagepublic boolean equals(java.lang.Object rhs)
equals in class java.lang.Objectpublic int compareTo(ExchangeMessage rhs)
compareTo in interface java.lang.Comparable<ExchangeMessage>public int hashCode()
hashCode in class java.lang.Objectpublic void deserialize(ProtoByteBuffer buffer)
deserialize in interface IMessagepublic void serialize(ProtoByteBuffer buffer)
public java.lang.String toString()
protected void dump(TextWriter wr)