public interface AsynchronousChannelListener
Modifier and Type | Interface and Description |
---|---|
static class |
AsynchronousChannelListener.Event
Event count notification
|
Modifier and Type | Method and Description |
---|---|
void |
channelClosing(FbWireAsynchronousChannel channel)
Signals the closing of an asynchronous channel.
|
void |
eventReceived(FbWireAsynchronousChannel channel,
AsynchronousChannelListener.Event event)
Signals that an event has been received.
|
void channelClosing(FbWireAsynchronousChannel channel)
Fired before the channel is actually closed.
channel
- The channel that is being closedvoid eventReceived(FbWireAsynchronousChannel channel, AsynchronousChannelListener.Event event)
Implementations should take care to only perform short processing on the current thread. If longer or complicated processing is necessary, please offload it to another thread or executor.
channel
- The channel that received the eventevent
- The event receivedCopyright © 2001-2021 Jaybird (Firebird JDBC/JCA) team. All rights reserved.