Package net.i2p.sam
Class SAMStreamSession.SAMv1StreamSessionSocketReader
- java.lang.Object
-
- net.i2p.sam.SAMStreamSession.SAMStreamSessionSocketReader
-
- net.i2p.sam.SAMStreamSession.SAMv1StreamSessionSocketReader
-
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
SAMv2StreamSession.SAMv2StreamSessionSocketReader
- Enclosing class:
- SAMStreamSession
public class SAMStreamSession.SAMv1StreamSessionSocketReader extends SAMStreamSession.SAMStreamSessionSocketReader
-
-
Field Summary
-
Fields inherited from class net.i2p.sam.SAMStreamSession.SAMStreamSessionSocketReader
i2pSocket, id, runningLock, stillRunning
-
-
Constructor Summary
Constructors Constructor Description SAMv1StreamSessionSocketReader(I2PSocket s, int id)
Create a new SAM STREAM session socket reader
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
void
stopRunning()
Stop a SAM STREAM session socket reader thead immediately.
-
-
-
Constructor Detail
-
SAMv1StreamSessionSocketReader
public SAMv1StreamSessionSocketReader(I2PSocket s, int id) throws IOException
Create a new SAM STREAM session socket reader- Parameters:
s
- Socket to be handledid
- Unique id assigned to the handler- Throws:
IOException
-
-
Method Detail
-
stopRunning
public void stopRunning()
Stop a SAM STREAM session socket reader thead immediately.- Overrides:
stopRunning
in classSAMStreamSession.SAMStreamSessionSocketReader
-
run
public void run()
- Specified by:
run
in interfaceRunnable
- Overrides:
run
in classSAMStreamSession.SAMStreamSessionSocketReader
-
-