Class I2CPMessageReader

java.lang.Object
net.i2p.data.i2cp.I2CPMessageReader
Direct Known Subclasses:
QueuedI2CPMessageReader

public class I2CPMessageReader extends Object
The I2CPMessageReader reads an InputStream (using I2CPMessageHandler) and passes out events to a registered listener, where events are either messages being received, exceptions being thrown, or the connection being closed. Applications should use this rather than read from the stream themselves.
Author:
jrandom