Package net.i2p.sam

Interface SAMRawReceiver

    • Method Detail

      • 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
      • stopRawReceiving

        void stopRawReceiving()
        Stop receiving data.