Package net.i2p.sam.client
Class SAMReader
java.lang.Object
net.i2p.sam.client.SAMReader
public class SAMReader extends Object
Read from a socket, producing events for any SAM message read
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SAMReader.SAMClientEventListener
Async event notification interface for SAM clients -
Constructor Summary
Constructors Constructor Description SAMReader(I2PAppContext context, InputStream samIn, SAMReader.SAMClientEventListener listener)
-
Method Summary
Modifier and Type Method Description void
startReading()
void
stopReading()
-
Constructor Details
-
SAMReader
public SAMReader(I2PAppContext context, InputStream samIn, SAMReader.SAMClientEventListener listener)
-
-
Method Details
-
startReading
public void startReading() -
stopReading
public void stopReading()
-