| Constructor and Description |
|---|
ClientWriterRunner(OutputStream out,
I2PSessionImpl session)
As of 0.9.11 does not start the thread, caller must call startWriting()
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMessage(I2CPMessage msg)
Add this message to the writer's queue.
|
void |
run() |
void |
startWriting() |
void |
stopWriting()
No more messages - don't even try to send what we have
|
public ClientWriterRunner(OutputStream out, I2PSessionImpl session)
public void addMessage(I2CPMessage msg) throws I2PSessionException
I2PSessionException - if we wait too long or are interruptedpublic void startWriting()
public void stopWriting()