java.lang.Object
net.i2p.data.i2cp.I2CPMessageReader.I2CPMessageReaderRunner
- All Implemented Interfaces:
Runnable
- Enclosing class:
I2CPMessageReader
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanWhether the read loop should keep reading.private final LogLogger for this class.protected booleanWhether the reader thread should stay alive past the last message.Constructor Summary
ConstructorsMethod Summary
Field Details
_doRun
protected volatile boolean _doRunWhether the read loop should keep reading._stayAlive
protected volatile boolean _stayAliveWhether the reader thread should stay alive past the last message._log
Logger for this class.
Constructor Details
I2CPMessageReaderRunner
public I2CPMessageReaderRunner()I2CPMessageReaderRunner.
Method Details
pauseRunner
public void pauseRunner()Pause the reader loop.resumeRunner
public void resumeRunner()Resume the reader loop.cancelRunner
public void cancelRunner()Cancel the message reading loop and close the stream.run
run2
protected void run2()Called by run().