public class VoteMessage extends Message
| Modifier and Type | Field and Description |
|---|---|
int |
priority |
long |
seed |
static int |
TYPE |
long |
viewId |
| Constructor and Description |
|---|
VoteMessage() |
VoteMessage(long viewId,
int priority,
long seed) |
| Modifier and Type | Method and Description |
|---|---|
void |
read(org.reveno.atp.core.api.channel.Buffer buffer)
Provides an ability to deserialize current message instance
data from the given buffer
|
java.lang.String |
toString() |
int |
type()
Unique message type in the system.
|
void |
write(org.reveno.atp.core.api.channel.Buffer buffer)
Provides an ability to serialize current message instance
data down to buffer.
|
public static final int TYPE
public long viewId
public int priority
public long seed
public VoteMessage(long viewId,
int priority,
long seed)
public VoteMessage()
public void write(org.reveno.atp.core.api.channel.Buffer buffer)
Messagepublic void read(org.reveno.atp.core.api.channel.Buffer buffer)
Messagepublic int type()
Messagepublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015 Artem Dmitriev. All Rights Reserved.