Class MsgID

java.lang.Object
net.i2p.data.ByteArray
org.klomp.snark.dht.MsgID
All Implemented Interfaces:
Serializable, Comparable<ByteArray>

class MsgID extends ByteArray
Used for both incoming and outgoing message IDs
Since:
0.9.2
Author:
zzz
  • Constructor Details

    • MsgID

      public MsgID(I2PAppContext ctx)
      outgoing - generate a random ID
    • MsgID

      public MsgID(byte[] data)
      incoming - save the ID (arbitrary length)