All Known Implementing Classes:
MasterSession, SAMv1Handler, SAMv2Handler, SAMv3Handler, SAMv3RawSession

interface SAMRawReceiver
Interface for sending raw data to a SAM client.
  • Method Summary

    All Methods
    Modifier and Type
    Method
    Description
    void
    receiveRawBytes(byte[] data, int proto, int fromPort, int toPort)
    Send a byte array to a SAM client, without informations regarding the sender.
    void
    Stop receiving data.
  • Method Details

    • receiveRawBytes

      void receiveRawBytes(byte[] data, int proto, int fromPort, int toPort) throws IOException
      Send a byte array to a SAM client, without informations regarding the sender.
      Parameters:
      data - Byte array to be received
      proto - I2CP protocol
      fromPort - I2CP from port
      toPort - I2CP to port
      Throws:
      IOException - if an I/O error occurs
    • stopRawReceiving

      void stopRawReceiving()
      Stop receiving data.