Package net.i2p.sam
Class SAMStreamSession.SAMStreamSessionSocketReader
java.lang.Object
net.i2p.sam.SAMStreamSession.SAMStreamSessionSocketReader
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
SAMStreamSession.SAMv1StreamSessionSocketReader
- Enclosing class:
SAMStreamSession
SAM STREAM socket reader, running in its own thread. It forwards
forward data to/from an I2P socket.
- Author:
- human
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSAMStreamSessionSocketReader
(I2PSocket s, int id) Create a new SAM STREAM session socket reader -
Method Summary
Modifier and TypeMethodDescriptionvoid
run()
void
Stop a SAM STREAM session socket reader thread immediately.
-
Field Details
-
i2pSocket
-
runningLock
-
stillRunning
protected volatile boolean stillRunning -
id
protected final int id
-
-
Constructor Details
-
SAMStreamSessionSocketReader
Create a new SAM STREAM session socket reader- Parameters:
s
- Socket to be handledid
- Unique id assigned to the handler- Throws:
IOException
-
-
Method Details