MasterSession
, SAMv1Handler
, SAMv2Handler
, SAMv3RawSession
interface SAMRawReceiver
修飾子とタイプ | メソッド | 説明 |
---|---|---|
void |
receiveRawBytes(byte[] data,
int proto,
int fromPort,
int toPort) |
Send a byte array to a SAM client, without informations
regarding the sender.
|
void |
stopRawReceiving() |
Stop receiving data.
|
void receiveRawBytes(byte[] data, int proto, int fromPort, int toPort) throws java.io.IOException
data
- Byte array to be receivedproto
- I2CP protocolfromPort
- I2CP from porttoPort
- I2CP to portjava.io.IOException
void stopRawReceiving()