MasterSession, SAMv1Handler, SAMv2Handler, SAMv3DatagramSessioninterface SAMDatagramReceiver
| 修飾子とタイプ | メソッド | 説明 |
|---|---|---|
void |
receiveDatagramBytes(Destination sender,
byte[] data,
int proto,
int fromPort,
int toPort) |
Send a byte array to a SAM client.
|
void |
stopDatagramReceiving() |
Stop receiving data.
|
void receiveDatagramBytes(Destination sender, byte[] data, int proto, int fromPort, int toPort) throws java.io.IOException
sender - Destinationdata - Byte array to be receivedproto - I2CP protocolfromPort - I2CP from porttoPort - I2CP to portjava.io.IOExceptionvoid stopDatagramReceiving()