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 void
    fromApplication(io.netty.buffer.ByteBuf msg, io.netty.buffer.ByteBuf out)
     
    abstract org.drasyl.node.handler.crypto.ArmMessage.MessageType
     
    static Object
    of(io.netty.buffer.ByteBuf byteBuf)
     
    abstract void
    writeBody(io.netty.buffer.ByteBuf byteBuf)
     
    void
    writeTo(io.netty.buffer.ByteBuf out)
     

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

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