Class ArmHeader

java.lang.Object
io.netty.buffer.DefaultByteBufHolder
org.drasyl.node.handler.crypto.ArmHeader
All Implemented Interfaces:
io.netty.buffer.ByteBufHolder, io.netty.util.ReferenceCounted

public class ArmHeader extends io.netty.buffer.DefaultByteBufHolder
  • Field Details

  • Constructor Details

    • ArmHeader

      public ArmHeader(AgreementId agreementId, Nonce nonce, io.netty.buffer.ByteBuf data)
  • Method Details

    • of

      public static ArmHeader of(AgreementId agreementId, Nonce nonce, io.netty.buffer.ByteBuf data)
    • getAgreementId

      public AgreementId getAgreementId()
    • getNonce

      public Nonce getNonce()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class io.netty.buffer.DefaultByteBufHolder
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class io.netty.buffer.DefaultByteBufHolder
    • toString

      public String toString()
      Overrides:
      toString in class io.netty.buffer.DefaultByteBufHolder