public class GridTaskResultResponse extends Object implements Message
| Constructor and Description |
|---|
GridTaskResultResponse() |
| Modifier and Type | Method and Description |
|---|---|
byte |
directType()
Gets message type.
|
String |
error() |
void |
error(String err) |
byte |
fieldsCount()
Gets fields count.
|
boolean |
finished() |
void |
finished(boolean finished) |
boolean |
found() |
void |
found(boolean found) |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
Object |
result() |
void |
result(Object res) |
byte[] |
resultBytes() |
void |
resultBytes(byte[] resBytes) |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public void resultBytes(byte[] resBytes)
resBytes - Serialized result.public byte[] resultBytes()
public boolean finished()
true if finished.public void finished(boolean finished)
finished - true if finished.public boolean found()
true if found.public void found(boolean found)
found - true if found.public String error()
public void error(String err)
err - Error.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