RunnableSAMv2StreamSession.SAMv2StreamSessionSocketReaderpublic 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 handlerIOExceptionpublic void stopRunning()
stopRunning in class SAMStreamSession.SAMStreamSessionSocketReaderpublic void run()
run in interface Runnablerun in class SAMStreamSession.SAMStreamSessionSocketReader