java.lang.Runnable
class ClientWriterRunner
extends java.lang.Object
implements java.lang.Runnable
コンストラクタ | 説明 |
---|---|
ClientWriterRunner(java.io.OutputStream out,
I2PSessionImpl session) |
As of 0.9.11 does not start the thread, caller must call startWriting()
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
void |
addMessage(I2CPMessage msg) |
Add this message to the writer's queue.
|
void |
run() |
|
void |
startWriting() |
|
void |
stopWriting() |
No more messages - dont even try to send what we have
|
public ClientWriterRunner(java.io.OutputStream out, I2PSessionImpl session)
public void startWriting()
public void addMessage(I2CPMessage msg) throws I2PSessionException
I2PSessionException
- if we wait too long or are interruptedpublic void stopWriting()
public void run()
run
インタフェース内 java.lang.Runnable