Package org.drasyl.node.handler.crypto
Class AcknowledgementMessage
java.lang.Object
org.drasyl.node.handler.crypto.AcknowledgementMessage
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.netty.buffer.ByteBuffromApplication(io.netty.buffer.ByteBuf msg, io.netty.buffer.ByteBufAllocator alloc) abstract AgreementIdstatic AcknowledgementMessageof(io.netty.buffer.ByteBuf byteBuf) static AcknowledgementMessageof(AgreementId agreementId) voidwriteBody(io.netty.buffer.ByteBuf byteBuf) voidwriteTo(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)
-