Package | Description |
---|---|
io.undertow.channels | |
org.xnio |
The main API package for XNIO.
|
Modifier and Type | Field and Description |
---|---|
protected ChannelListener.SimpleSetter<DetachableStreamSinkChannel> |
DetachableStreamSinkChannel.closeSetter |
protected ChannelListener.SimpleSetter<DetachableStreamSourceChannel> |
DetachableStreamSourceChannel.closeSetter |
protected ChannelListener.SimpleSetter<DetachableStreamSourceChannel> |
DetachableStreamSourceChannel.readSetter |
protected ChannelListener.SimpleSetter<DetachableStreamSinkChannel> |
DetachableStreamSinkChannel.writeSetter |
Modifier and Type | Method and Description |
---|---|
static <C extends Channel,T extends Channel> |
ChannelListeners.delegatingChannelListener(T channel,
ChannelListener.SimpleSetter<T> setter)
A delegating channel listener which passes an event to the listener stored in the given setter.
|
static <T extends Channel> |
ChannelListeners.getChannelListenerTask(T channel,
ChannelListener.SimpleSetter<T> setter)
Get a task which invokes the given channel listener on the given channel via its setter.
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.