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 |
|---|---|
@Nullable Object |
body() |
void |
body(Object body) |
@Nullable byte[] |
bodyBytes() |
@Nullable IgniteUuid |
classLoaderId() |
@Nullable GridDeployment |
deployment() |
void |
deployment(GridDeployment dep) |
@Nullable String |
deploymentClassName() |
@Nullable DeploymentMode |
deploymentMode() |
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
@Nullable 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.
|
@Nullable Object |
topic() |
void |
topic(Object topic) |
@Nullable byte[] |
topicBytes() |
String |
toString() |
@Nullable String |
userVersion() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public GridIoUserMessage()
Externalizable.@Nullable public @Nullable byte[] bodyBytes()
@Nullable public @Nullable IgniteUuid classLoaderId()
@Nullable public @Nullable DeploymentMode deploymentMode()
@Nullable public @Nullable String deploymentClassName()
@Nullable public @Nullable String userVersion()
@Nullable public @Nullable Map<UUID,IgniteUuid> loaderParticipants()
@Nullable public @Nullable byte[] topicBytes()
public void topic(Object topic)
topic - New message topic.@Nullable public @Nullable Object topic()
public void body(Object body)
body - New message body.@Nullable public @Nullable Object body()
public void deployment(GridDeployment dep)
dep - New message deployment.@Nullable public @Nullable GridDeployment deployment()
public void onAckReceived()
onAckReceived in interface Messagepublic boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Message
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021