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