Package net.i2p.data.i2cp
Class MessageId
java.lang.Object
net.i2p.data.i2cp.MessageId
public class MessageId extends Object
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 Type Method Description boolean
equals(Object object)
long
getMessageId()
int
hashCode()
void
readBytes(InputStream in)
void
setMessageId(long id)
String
toString()
void
writeBytes(OutputStream out)
-
Constructor Details
-
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
-