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 booleanequals(Object object)longgetMessageId()inthashCode()voidreadBytes(InputStream in)voidsetMessageId(long id)StringtoString()voidwriteBytes(OutputStream out)
-
-
-
Method Detail
-
getMessageId
public long getMessageId()
-
setMessageId
public void setMessageId(long id)
-
readBytes
public void readBytes(InputStream in) throws DataFormatException, IOException
- Throws:
DataFormatExceptionIOException
-
writeBytes
public void writeBytes(OutputStream out) throws DataFormatException, IOException
- Throws:
DataFormatExceptionIOException
-
-