Package org.drasyl.node.handler.crypto
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 Summary
-
Constructor Summary
ConstructorDescriptionArmHeader
(AgreementId agreementId, Nonce nonce, io.netty.buffer.ByteBuf data) -
Method Summary
Methods inherited from class io.netty.buffer.DefaultByteBufHolder
content, contentToString, copy, duplicate, refCnt, release, release, replace, retain, retain, retainedDuplicate, touch, touch
-
Field Details
-
MIN_LENGTH
public static final int MIN_LENGTH- See Also:
-
-
Constructor Details
-
ArmHeader
-
-
Method Details
-
of
-
getAgreementId
-
getNonce
-
equals
- Overrides:
equals
in classio.netty.buffer.DefaultByteBufHolder
-
hashCode
public int hashCode()- Overrides:
hashCode
in classio.netty.buffer.DefaultByteBufHolder
-
toString
- Overrides:
toString
in classio.netty.buffer.DefaultByteBufHolder
-
writeTo
public void writeTo(io.netty.buffer.ByteBuf out) -
getLength
public int getLength()
-