public class GridIoUserMessage extends Object implements Message
| Constructor and Description |
|---|
GridIoUserMessage()
Default constructor, required for
Externalizable. |
| Modifier and Type | Method and Description |
|---|---|
Object |
body() |
void |
body(Object body) |
byte[] |
bodyBytes() |
IgniteUuid |
classLoaderId() |
GridDeployment |
deployment() |
void |
deployment(GridDeployment dep) |
String |
deploymentClassName() |
DeploymentMode |
deploymentMode() |
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
Map<UUID,IgniteUuid> |
loaderParticipants() |
void |
onAckReceived()
Method called when ack message received.
|
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
Object |
topic() |
void |
topic(Object topic) |
byte[] |
topicBytes() |
String |
toString() |
String |
userVersion() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public GridIoUserMessage()
Externalizable.@Nullable public byte[] bodyBytes()
@Nullable public IgniteUuid classLoaderId()
@Nullable public DeploymentMode deploymentMode()
@Nullable public String deploymentClassName()
@Nullable public String userVersion()
@Nullable public Map<UUID,IgniteUuid> loaderParticipants()
@Nullable public byte[] topicBytes()
public void topic(Object topic)
topic - New message topic.@Nullable public Object topic()
public void body(Object body)
body - New message body.@Nullable public Object body()
public void deployment(GridDeployment dep)
dep - New message deployment.@Nullable public GridDeployment deployment()
public void onAckReceived()
onAckReceived in interface Messagepublic boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public byte directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Message
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016