Package org.drasyl.node.handler.crypto
Class AcknowledgementMessage
java.lang.Object
org.drasyl.node.handler.crypto.AcknowledgementMessage
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.netty.buffer.ByteBuf
fromApplication
(io.netty.buffer.ByteBuf msg, io.netty.buffer.ByteBufAllocator alloc) abstract AgreementId
static AcknowledgementMessage
of
(io.netty.buffer.ByteBuf byteBuf) static AcknowledgementMessage
of
(AgreementId agreementId) void
writeBody
(io.netty.buffer.ByteBuf byteBuf) void
writeTo
(io.netty.buffer.ByteBuf out)
-
Field Details
-
LENGTH
public static final int LENGTH- See Also:
-
-
Constructor Details
-
AcknowledgementMessage
public AcknowledgementMessage()
-
-
Method Details
-
getAgreementId
-
writeBody
public void writeBody(io.netty.buffer.ByteBuf byteBuf) -
of
-
of
public static AcknowledgementMessage of(io.netty.buffer.ByteBuf byteBuf) throws InvalidMessageFormatException - Throws:
InvalidMessageFormatException
-
writeTo
public void writeTo(io.netty.buffer.ByteBuf out) -
fromApplication
public static io.netty.buffer.ByteBuf fromApplication(io.netty.buffer.ByteBuf msg, io.netty.buffer.ByteBufAllocator alloc)
-