net.i2p.sam.client
Class SAMReader

java.lang.Object
  extended by net.i2p.sam.client.SAMReader

public class SAMReader
extends java.lang.Object

Read from a socket, producing events for any SAM message read


Nested Class Summary
static interface SAMReader.SAMClientEventListener
          Async event notification interface for SAM clients
 
Constructor Summary
SAMReader(I2PAppContext context, java.io.InputStream samIn, SAMReader.SAMClientEventListener listener)
           
 
Method Summary
 void startReading()
           
 void stopReading()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMReader

public SAMReader(I2PAppContext context,
                 java.io.InputStream samIn,
                 SAMReader.SAMClientEventListener listener)
Method Detail

startReading

public void startReading()

stopReading

public void stopReading()