Package org.klomp.snark.dht
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 Summary
Constructors Constructor Description MsgID(byte[] data)
incoming - save the ID (arbitrary length)MsgID(I2PAppContext ctx)
outgoing - generate a random ID -
Method Summary