Uses of Interface
org.glassfish.grizzly.WriteHandler
Packages that use WriteHandler
Package
Description
-
Uses of WriteHandler in org.glassfish.grizzly
Methods in org.glassfish.grizzly with parameters of type WriteHandlerModifier and TypeMethodDescriptionvoidOutputSink.notifyCanWrite(WriteHandler handler) Instructs theOutputSinkto invoke the providedWriteHandlerwhen it is possible to write more bytes (or characters).voidOutputSink.notifyCanWrite(WriteHandler handler, int length) Deprecated.voidWriter.notifyWritePossible(Connection<L> connection, WriteHandler writeHandler) RegistersWriteHandler, which will be notified ones at least one byte can be written. -
Uses of WriteHandler in org.glassfish.grizzly.asyncqueue
Fields in org.glassfish.grizzly.asyncqueue with type parameters of type WriteHandlerModifier and TypeFieldDescriptionprotected final Queue<WriteHandler>TaskQueue.writeHandlersQueueMethods in org.glassfish.grizzly.asyncqueue with parameters of type WriteHandlerModifier and TypeMethodDescriptionbooleanTaskQueue.forgetWritePossible(WriteHandler writeHandler) voidAsyncQueueWriter.notifyWritePossible(Connection<L> connection, WriteHandler writeHandler, int size) Deprecated.the size parameter will be ignored, useinstead.voidTaskQueue.notifyWritePossible(WriteHandler writeHandler) voidTaskQueue.notifyWritePossible(WriteHandler writeHandler, int maxQueueSize) -
Uses of WriteHandler in org.glassfish.grizzly.nio
Methods in org.glassfish.grizzly.nio with parameters of type WriteHandlerModifier and TypeMethodDescriptionvoidAbstractNIOAsyncQueueWriter.notifyWritePossible(Connection<SocketAddress> connection, WriteHandler writeHandler) voidAbstractNIOAsyncQueueWriter.notifyWritePossible(Connection<SocketAddress> connection, WriteHandler writeHandler, int size) Deprecated. -
Uses of WriteHandler in org.glassfish.grizzly.nio.tmpselectors
Methods in org.glassfish.grizzly.nio.tmpselectors with parameters of type WriteHandlerModifier and TypeMethodDescriptionvoidTemporarySelectorWriter.notifyWritePossible(Connection connection, WriteHandler writeHandler) RegistersWriteHandler, which will be notified ones at least one byte can be written. -
Uses of WriteHandler in org.glassfish.grizzly.nio.transport
Methods in org.glassfish.grizzly.nio.transport with parameters of type WriteHandlerModifier and TypeMethodDescriptionvoidTCPNIOConnection.notifyCanWrite(WriteHandler writeHandler) Instructs theOutputSinkto invoke the providedWriteHandlerwhen it is possible to write more bytes (or characters).voidTCPNIOConnection.notifyCanWrite(WriteHandler handler, int length) Deprecated.voidUDPNIOConnection.notifyCanWrite(WriteHandler writeHandler) Instructs theOutputSinkto invoke the providedWriteHandlerwhen it is possible to write more bytes (or characters).voidUDPNIOConnection.notifyCanWrite(WriteHandler handler, int length) Deprecated.
lengthparameter will be ignored.