public class SAMStreamSession.SAMv1StreamSessionSocketReader extends SAMStreamSession.SAMStreamSessionSocketReader
i2pSocket, id, runningLock, stillRunning| Constructor and Description |
|---|
SAMv1StreamSessionSocketReader(I2PSocket s,
int id)Create a new SAM STREAM session socket reader |
| Modifier and Type | Method and Description |
|---|---|
void | run()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 run()
run in interface Runnablerun in class SAMStreamSession.SAMStreamSessionSocketReaderpublic void stopRunning()
stopRunning in class SAMStreamSession.SAMStreamSessionSocketReader