Modifier and Type | Method and Description |
---|---|
void |
OutputSink.notifyCanWrite(WriteHandler handler)
Instructs the
OutputSink to invoke the provided
WriteHandler when it is possible to write more bytes (or characters). |
void |
OutputSink.notifyCanWrite(WriteHandler handler,
int length)
Deprecated.
the
length parameter will be ignored. Pls. use OutputSink.notifyCanWrite(org.glassfish.grizzly.WriteHandler) . |
void |
Writer.notifyWritePossible(Connection<L> connection,
WriteHandler writeHandler)
Registers
WriteHandler , which will be notified ones at least one
byte can be written. |
Modifier and Type | Field and Description |
---|---|
protected Queue<WriteHandler> |
TaskQueue.writeHandlersQueue |
Modifier and Type | Method and Description |
---|---|
boolean |
TaskQueue.forgetWritePossible(WriteHandler writeHandler) |
void |
AsyncQueueWriter.notifyWritePossible(Connection connection,
WriteHandler writeHandler)
Registers
WriteHandler , which will be notified ones the
Connection is able to accept more bytes to be written. |
void |
AsyncQueueWriter.notifyWritePossible(Connection connection,
WriteHandler writeHandler,
int size)
Deprecated.
the size parameter will be ignored, use {@link #notifyWritePossible(org.glassfish.grizzly.Connection, org.glassfish.grizzly.WriteHandler) instead.
|
void |
TaskQueue.notifyWritePossible(WriteHandler writeHandler) |
void |
TaskQueue.notifyWritePossible(WriteHandler writeHandler,
int maxQueueSize) |
Modifier and Type | Method and Description |
---|---|
void |
OutputBuffer.notifyCanWrite(WriteHandler handler) |
void |
OutputBuffer.notifyCanWrite(WriteHandler handler,
int length)
Deprecated.
the
length parameter will be ignored. Please use OutputBuffer.notifyCanWrite(org.glassfish.grizzly.WriteHandler) . |
Modifier and Type | Interface and Description |
---|---|
interface |
WriteHandler
Deprecated.
please use
WriteHandler |
Modifier and Type | Method and Description |
---|---|
void |
AbstractNIOAsyncQueueWriter.notifyWritePossible(Connection connection,
WriteHandler writeHandler) |
void |
AbstractNIOAsyncQueueWriter.notifyWritePossible(Connection connection,
WriteHandler writeHandler,
int size)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
TemporarySelectorWriter.notifyWritePossible(Connection connection,
WriteHandler writeHandler)
Registers
WriteHandler , which will be notified ones at least one
byte can be written. |
Modifier and Type | Method and Description |
---|---|
void |
UDPNIOConnection.notifyCanWrite(WriteHandler writeHandler)
Instructs the
OutputSink to invoke the provided
WriteHandler when it is possible to write more bytes (or characters). |
void |
TCPNIOConnection.notifyCanWrite(WriteHandler writeHandler)
Instructs the
OutputSink to invoke the provided
WriteHandler when it is possible to write more bytes (or characters). |
void |
UDPNIOConnection.notifyCanWrite(WriteHandler handler,
int length)
Deprecated.
|
void |
TCPNIOConnection.notifyCanWrite(WriteHandler handler,
int length)
Deprecated.
|
Copyright © 2014 Oracle Corporation. All rights reserved.