Package net.i2p.sam
Interface SAMRawReceiver
-
- All Known Implementing Classes:
PrimarySession,SAMv1Handler,SAMv2Handler,SAMv3Handler,SAMv3RawSession
interface SAMRawReceiverInterface for sending raw data to a SAM client
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidreceiveRawBytes(byte[] data, int proto, int fromPort, int toPort)Send a byte array to a SAM client, without informations regarding the sender.voidstopRawReceiving()Stop receiving data.
-
-
-
Method Detail
-
receiveRawBytes
void receiveRawBytes(byte[] data, int proto, int fromPort, int toPort) throws IOExceptionSend a byte array to a SAM client, without informations regarding the sender.- Parameters:
data- Byte array to be receivedproto- I2CP protocolfromPort- I2CP from porttoPort- I2CP to port- Throws:
IOException
-
stopRawReceiving
void stopRawReceiving()
Stop receiving data.
-
-