Runnable
SAMStreamSession.SAMv1StreamSessionSocketReader
public class SAMStreamSession.SAMStreamSessionSocketReader extends Object implements Runnable
Modifier and Type | Field | Description |
---|---|---|
protected I2PSocket |
i2pSocket |
|
protected int |
id |
|
protected Object |
runningLock |
|
protected boolean |
stillRunning |
Constructor | Description |
---|---|
SAMStreamSessionSocketReader(I2PSocket s,
int id) |
Create a new SAM STREAM session socket reader
|
Modifier and Type | Method | Description |
---|---|---|
void |
run() |
|
void |
stopRunning() |
Stop a SAM STREAM session socket reader thread immediately.
|
protected final I2PSocket i2pSocket
protected final Object runningLock
protected volatile boolean stillRunning
protected final int id
public SAMStreamSessionSocketReader(I2PSocket s, int id) throws IOException
s
- Socket to be handledid
- Unique id assigned to the handlerIOException