public final class Heartbeat extends java.lang.Object implements IMessage, java.lang.Comparable<Heartbeat>, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
int[] |
activeFeeds |
long |
timeApiServer
Timestamp in the client handler within Whisperer.
|
| Modifier | Constructor and Description |
|---|---|
|
Heartbeat() |
|
Heartbeat(long timeApiServer,
int[] activeFeeds) |
protected |
Heartbeat(ProtoByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Heartbeat 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 timeApiServer
public int[] activeFeeds
public Heartbeat()
protected Heartbeat(ProtoByteBuffer buffer)
public Heartbeat(long timeApiServer,
int[] activeFeeds)
public int getMsgType()
getMsgType in interface IMessagepublic boolean equals(java.lang.Object rhs)
equals in class java.lang.Objectpublic int compareTo(Heartbeat rhs)
compareTo in interface java.lang.Comparable<Heartbeat>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)