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