public class GridIoUserMessage extends Object implements Message
DIRECT_TYPE_SIZE
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() |
short |
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 Message
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType
in interface Message
public byte fieldsCount()
fieldsCount
in interface Message
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017