public class GridTaskResultResponse extends MessageAdapter
MessageAdapter.Typereader, readState| Constructor and Description |
|---|
GridTaskResultResponse() |
| Modifier and Type | Method and Description |
|---|---|
byte |
directType()
Gets message type.
|
String |
error() |
void |
error(String err) |
boolean |
finished() |
void |
finished(boolean finished) |
boolean |
found() |
void |
found(boolean found) |
boolean |
readFrom(ByteBuffer buf)
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.
|
setReader, skipRecoverypublic 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)
writeTo in class MessageAdapterbuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf)
readFrom in class MessageAdapterbuf - Byte buffer.public byte directType()
directType in class MessageAdapter
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015