class NTCPSendFinisher extends Object
| Constructor and Description |
|---|
NTCPSendFinisher(I2PAppContext context,
NTCPTransport transport) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(OutNetMessage msg)
Adds a message to the finishing queue to call afterSend asynchronously.
|
void |
start()
Starts the thread pool executor for processing send finish tasks.
|
void |
stop()
Stops the thread pool executor, waiting briefly for termination.
|
public NTCPSendFinisher(I2PAppContext context, NTCPTransport transport)
public void add(OutNetMessage msg)
public void start()
public void stop()