public class GridStreamerResponse extends Object implements Message
| Constructor and Description |
|---|
GridStreamerResponse() |
GridStreamerResponse(IgniteUuid futId,
byte[] errBytes) |
| Modifier and Type | Method and Description |
|---|---|
byte |
directType()
Gets message type.
|
byte[] |
errorBytes() |
byte |
fieldsCount()
Gets fields count.
|
IgniteUuid |
futureId() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public GridStreamerResponse()
public GridStreamerResponse(IgniteUuid futId, @Nullable byte[] errBytes)
futId - Future ID.errBytes - Serialized error, if any.public IgniteUuid futureId()
public byte[] errorBytes()
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.0.0-RC3 Release Date : March 24 2015