Class ArmMessage

java.lang.Object
org.drasyl.node.handler.crypto.ArmMessage
Direct Known Subclasses:
AcknowledgementMessage, KeyExchangeMessage

public abstract class ArmMessage extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.netty.buffer.ByteBuf
    fromApplication(io.netty.buffer.ByteBuf msg)
     
    abstract org.drasyl.node.handler.crypto.ArmMessage.MessageType
     
    static Object
    of(io.netty.buffer.ByteBuf byteBuf)
     
    io.netty.buffer.ByteBuf
     
    abstract void
    writeBody(io.netty.buffer.ByteBuf byteBuf)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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)
    • toByteBuf

      public io.netty.buffer.ByteBuf toByteBuf()
    • fromApplication

      public static io.netty.buffer.ByteBuf fromApplication(io.netty.buffer.ByteBuf msg)
    • of

      public static Object of(io.netty.buffer.ByteBuf byteBuf) throws InvalidMessageFormatException
      Throws:
      InvalidMessageFormatException