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() |
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 Map<UUID,IgniteUuid> loaderParticipants()
@Nullable public byte[] topicBytes()
public void topic(Object topic)
topic - New message topic.public void body(Object body)
body - New message body.public void deployment(GridDeployment dep)
dep - New message deployment.@Nullable public GridDeployment deployment()
public 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.1.0-incubating Release Date : May 20 2015