Package net.i2p.sam
Class SAMStreamSession.SAMv1StreamSessionSocketReader
java.lang.Object
net.i2p.sam.SAMStreamSession.SAMStreamSessionSocketReader
net.i2p.sam.SAMStreamSession.SAMv1StreamSessionSocketReader
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
SAMv2StreamSession.SAMv2StreamSessionSocketReader
- Enclosing class:
SAMStreamSession
public class SAMStreamSession.SAMv1StreamSessionSocketReader
extends SAMStreamSession.SAMStreamSessionSocketReader
-
Field Summary
Fields inherited from class net.i2p.sam.SAMStreamSession.SAMStreamSessionSocketReader
i2pSocket, id, runningLock, stillRunning
-
Constructor Summary
ConstructorDescriptionSAMv1StreamSessionSocketReader
(I2PSocket s, int id) Create a new SAM STREAM session socket reader -
Method Summary
Modifier and TypeMethodDescriptionvoid
run()
void
Stop a SAM STREAM session socket reader thead immediately.
-
Constructor Details
-
SAMv1StreamSessionSocketReader
Create a new SAM STREAM session socket reader- Parameters:
s
- Socket to be handledid
- Unique id assigned to the handler- Throws:
IOException
-
-
Method Details
-
stopRunning
public void stopRunning()Stop a SAM STREAM session socket reader thead immediately.- Overrides:
stopRunning
in classSAMStreamSession.SAMStreamSessionSocketReader
-
run
public void run()- Specified by:
run
in interfaceRunnable
- Overrides:
run
in classSAMStreamSession.SAMStreamSessionSocketReader
-