net.i2p.sam
Class SAMStreamSession.SAMv1StreamSessionSocketReader

java.lang.Object
  extended by net.i2p.sam.SAMStreamSession.SAMStreamSessionSocketReader
      extended by net.i2p.sam.SAMStreamSession.SAMv1StreamSessionSocketReader
All Implemented Interfaces:
java.lang.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
SAMStreamSession.SAMv1StreamSessionSocketReader(I2PSocket s, int id)
          Create a new SAM STREAM session socket reader
 
Method Summary
 void run()
           
 void stopRunning()
          Stop a SAM STREAM session socket reader thead immediately.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMStreamSession.SAMv1StreamSessionSocketReader

public SAMStreamSession.SAMv1StreamSessionSocketReader(I2PSocket s,
                                                       int id)
                                                throws java.io.IOException
Create a new SAM STREAM session socket reader

Parameters:
s - Socket to be handled
id - Unique id assigned to the handler
Throws:
java.io.IOException
Method Detail

stopRunning

public void stopRunning()
Stop a SAM STREAM session socket reader thead immediately.

Overrides:
stopRunning in class SAMStreamSession.SAMStreamSessionSocketReader

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class SAMStreamSession.SAMStreamSessionSocketReader