Package net.i2p.sam

Class SAMv2StreamSession.SAMv2StreamSessionSocketReader

All Implemented Interfaces:
Runnable
Enclosing class:
SAMv2StreamSession

public class SAMv2StreamSession.SAMv2StreamSessionSocketReader extends SAMStreamSession.SAMv1StreamSessionSocketReader
SAM STREAM socket reader, running in its own thread. It forwards forward data to/from an I2P socket.
Author:
human
  • Field Details

    • nolimit

      protected boolean nolimit
    • limit

      protected long limit
    • totalReceived

      protected long totalReceived
  • Constructor Details

    • SAMv2StreamSessionSocketReader

      public SAMv2StreamSessionSocketReader(I2PSocket s, int id) throws IOException
      Create a new SAM STREAM session socket reader
      Parameters:
      s - Socket to be handled
      id - Unique id assigned to the handler
      Throws:
      IOException
  • Method Details