Runnable
SAMv2StreamSession.SAMv2StreamSessionSocketReader
public class SAMStreamSession.SAMv1StreamSessionSocketReader extends SAMStreamSession.SAMStreamSessionSocketReader
i2pSocket, id, runningLock, stillRunning
Constructor | Description |
---|---|
SAMv1StreamSessionSocketReader(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 thead immediately.
|
public SAMv1StreamSessionSocketReader(I2PSocket s, int id) throws IOException
s
- Socket to be handledid
- Unique id assigned to the handlerIOException
public void stopRunning()
stopRunning
in class SAMStreamSession.SAMStreamSessionSocketReader
public void run()
run
in interface Runnable
run
in class SAMStreamSession.SAMStreamSessionSocketReader