Package org.drasyl.node.handler.crypto
Class ArmMessage
java.lang.Object
org.drasyl.node.handler.crypto.ArmMessage
- Direct Known Subclasses:
AcknowledgementMessage
,KeyExchangeMessage
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
fromApplication
(io.netty.buffer.ByteBuf msg, io.netty.buffer.ByteBuf out) abstract org.drasyl.node.handler.crypto.ArmMessage.MessageType
getType()
static Object
of
(io.netty.buffer.ByteBuf byteBuf) abstract 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
-
ArmMessage
public ArmMessage()
-
-
Method Details
-
getType
public abstract org.drasyl.node.handler.crypto.ArmMessage.MessageType getType() -
writeBody
public abstract void writeBody(io.netty.buffer.ByteBuf byteBuf) -
writeTo
public void writeTo(io.netty.buffer.ByteBuf out) -
fromApplication
public static void fromApplication(io.netty.buffer.ByteBuf msg, io.netty.buffer.ByteBuf out) -
of
- Throws:
InvalidMessageFormatException
-