Package net.i2p.data.i2cp
Class MessageId
java.lang.Object
net.i2p.data.i2cp.MessageId
Defines the message ID of a message delivered between a router and a client
in a particular session. These IDs are not globally unique.
As of 0.9.48, does NOT extend DataStructureImpl.
- Author:
- jrandom
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
long
int
hashCode()
void
readBytes
(InputStream in) void
setMessageId
(long id) toString()
void
writeBytes
(OutputStream out)
-
Constructor Details
-
MessageId
public MessageId() -
MessageId
public MessageId(long id)
-
-
Method Details
-
getMessageId
public long getMessageId() -
setMessageId
public void setMessageId(long id) -
readBytes
- Throws:
DataFormatException
IOException
-
writeBytes
- Throws:
DataFormatException
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-