|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.i2p.client.datagram.I2PDatagramMaker
public final class I2PDatagramMaker
Class for creating I2P repliable datagrams. Note that objects of this class are NOT THREAD SAFE!
Constructor Summary | |
---|---|
I2PDatagramMaker(I2PSession session)
Construct a new I2PDatagramMaker that will be able to create I2P repliable datagrams going to be sent through the specified I2PSession. |
Method Summary | |
---|---|
byte[] |
makeI2PDatagram(byte[] payload)
Make a repliable I2P datagram containing the specified payload. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public I2PDatagramMaker(I2PSession session)
session
- I2PSession used to send I2PDatagrams throughMethod Detail |
---|
public byte[] makeI2PDatagram(byte[] payload)
payload
- Bytes to be contained in the I2P datagram.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |