public class NodeState extends Message
| Modifier and Type | Field and Description |
|---|---|
byte |
syncMode |
int |
syncPort |
long |
transactionId |
static int |
TYPE |
long |
viewId |
| Constructor and Description |
|---|
NodeState() |
NodeState(long viewId,
long transactionId,
byte syncMode,
int syncPort) |
| 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 long transactionId
public byte syncMode
public int syncPort
public NodeState(long viewId,
long transactionId,
byte syncMode,
int syncPort)
public NodeState()
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.