public class IgfsAckMessage extends IgfsCommunicationMessage
MessageAdapter.Typereader, readState| Constructor and Description |
|---|
IgfsAckMessage()
Empty constructor required by
Externalizable. |
IgfsAckMessage(IgniteUuid fileId,
long id,
IgniteCheckedException err) |
| Modifier and Type | Method and Description |
|---|---|
byte |
directType()
Gets message type.
|
IgniteCheckedException |
error() |
IgniteUuid |
fileId() |
void |
finishUnmarshal(Marshaller marsh,
ClassLoader ldr) |
long |
id() |
void |
prepareMarshal(Marshaller marsh) |
boolean |
readFrom(ByteBuffer buf)
Reads this message from provided byte buffer.
|
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
setReader, skipRecoverypublic IgfsAckMessage()
Externalizable.public IgfsAckMessage(IgniteUuid fileId, long id, @Nullable IgniteCheckedException err)
fileId - File ID.id - Request ID.err - Error.public IgniteUuid fileId()
public long id()
public IgniteCheckedException error()
public void prepareMarshal(Marshaller marsh) throws IgniteCheckedException
prepareMarshal in class IgfsCommunicationMessagemarsh - Marshaller.IgniteCheckedException - In case of error.public void finishUnmarshal(Marshaller marsh, @Nullable ClassLoader ldr) throws IgniteCheckedException
finishUnmarshal in class IgfsCommunicationMessagemarsh - Marshaller.ldr - Class loader.IgniteCheckedException - In case of error.public boolean writeTo(ByteBuffer buf, MessageWriter writer)
writeTo in class IgfsCommunicationMessagebuf - Byte buffer.writer - Writer.public boolean readFrom(ByteBuffer buf)
readFrom in class IgfsCommunicationMessagebuf - Byte buffer.public byte directType()
directType in class MessageAdapter
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015