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
-
-
Method Summary
All Methods Instance Methods Concrete Methods 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)
-
-
-
Method Detail
-
getMessageId
public long getMessageId()
-
setMessageId
public void setMessageId(long id)
-
readBytes
public void readBytes(InputStream in) throws DataFormatException, IOException
- Throws:
DataFormatException
IOException
-
writeBytes
public void writeBytes(OutputStream out) throws DataFormatException, IOException
- Throws:
DataFormatException
IOException
-
-