Class FailMessage
- java.lang.Object
-
- org.apache.hugegraph.computer.core.network.message.AbstractMessage
-
- org.apache.hugegraph.computer.core.network.message.FailMessage
-
- All Implemented Interfaces:
Message,ResponseMessage
@Deprecated public class FailMessage extends AbstractMessage implements ResponseMessage
Deprecated.
-
-
Field Summary
-
Fields inherited from class org.apache.hugegraph.computer.core.network.message.AbstractMessage
HEADER_LENGTH, LENGTH_BODY_LENGTH, MAGIC_NUMBER, MAX_MESSAGE_LENGTH, OFFSET_BODY_LENGTH, PROTOCOL_VERSION, START_SEQ, UNKNOWN_SEQ
-
-
Constructor Summary
Constructors Constructor Description FailMessage(int ackId, int errorCode, java.lang.String message)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected NetworkBufferencodeBody(io.netty.buffer.ByteBuf buf)Deprecated.Only serializes the body of this message by writing into the given ByteBuf or return the body buffer.interrorCode()Deprecated.java.lang.Stringmessage()Deprecated.static FailMessageparseFrom(io.netty.buffer.ByteBuf buf)Deprecated.static intremainingBytes(io.netty.buffer.ByteBuf buf)Deprecated.MessageTypetype()Deprecated.Used to identify this message type.-
Methods inherited from class org.apache.hugegraph.computer.core.network.message.AbstractMessage
assertExtraHeader, body, encode, encodeHeader, hasBody, partition, release, sequenceNumber, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.hugegraph.computer.core.network.message.Message
body, encode, hasBody, partition, release, sequenceNumber
-
Methods inherited from interface org.apache.hugegraph.computer.core.network.message.ResponseMessage
ackId
-
-
-
-
Method Detail
-
type
public MessageType type()
Deprecated.Description copied from interface:MessageUsed to identify this message type.
-
encodeBody
protected NetworkBuffer encodeBody(io.netty.buffer.ByteBuf buf)
Deprecated.Description copied from class:AbstractMessageOnly serializes the body of this message by writing into the given ByteBuf or return the body buffer.- Overrides:
encodeBodyin classAbstractMessage
-
parseFrom
public static FailMessage parseFrom(io.netty.buffer.ByteBuf buf)
Deprecated.
-
remainingBytes
public static int remainingBytes(io.netty.buffer.ByteBuf buf)
Deprecated.
-
message
public java.lang.String message()
Deprecated.
-
errorCode
public int errorCode()
Deprecated.
-
-