XNIO API 2.1.0.CR2

Uses of Interface
org.jboss.xnio.ChannelListener

Packages that use ChannelListener
org.jboss.xnio The main API package for XNIO. 
org.jboss.xnio.channels Defines an enhanced set of channels. 
 

Uses of ChannelListener in org.jboss.xnio
 

Methods in org.jboss.xnio that return ChannelListener
static ChannelListener<Channel> IoUtils.closingChannelListener()
          Get a channel listener which closes the channel when notified.
static
<T extends Channel>
ChannelListener<T>
IoUtils.executorChannelListener(ChannelListener<T> listener, Executor executor)
          Get a channel listener which executes a delegate channel listener via an executor.
static ChannelListener<Channel> IoUtils.nullChannelListener()
          Get a channel listener which does nothing.
 

Methods in org.jboss.xnio that return types with arguments of type ChannelListener
static
<T extends Channel>
IoFuture.Notifier<T,ChannelListener<? super T>>
IoUtils.channelListenerNotifier()
          Get the notifier that invokes the channel listener given as an attachment.
 

Methods in org.jboss.xnio with parameters of type ChannelListener
 IoFuture<T> ChannelDestination.accept(ChannelListener<? super T> openListener, ChannelListener<? super BoundChannel<A>> bindListener)
          Accept a connection.
 IoFuture<T> ChannelDestination.accept(ChannelListener<? super T> openListener, ChannelListener<? super BoundChannel<A>> bindListener)
          Accept a connection.
 IoFuture<T> Acceptor.acceptTo(A dest, ChannelListener<? super T> openListener, ChannelListener<? super BoundChannel<A>> bindListener)
          Accept a connection at a destination address.
 IoFuture<T> Acceptor.acceptTo(A dest, ChannelListener<? super T> openListener, ChannelListener<? super BoundChannel<A>> bindListener)
          Accept a connection at a destination address.
 IoFuture<T> Connector.connectTo(A dest, ChannelListener<? super T> openListener, ChannelListener<? super BoundChannel<A>> bindListener)
          Establish a connection to a destination.
 IoFuture<T> Connector.connectTo(A dest, ChannelListener<? super T> openListener, ChannelListener<? super BoundChannel<A>> bindListener)
          Establish a connection to a destination.
 IoFuture<SslTcpChannel> SslTcpConnector.connectTo(InetSocketAddress destination, ChannelListener<? super SslTcpChannel> openListener, ChannelListener<? super BoundChannel<InetSocketAddress>> bindListener)
          Establish a connection to an SSL TCP server.
 IoFuture<SslTcpChannel> SslTcpConnector.connectTo(InetSocketAddress destination, ChannelListener<? super SslTcpChannel> openListener, ChannelListener<? super BoundChannel<InetSocketAddress>> bindListener)
          Establish a connection to an SSL TCP server.
 IoFuture<TcpChannel> TcpConnector.connectTo(InetSocketAddress destination, ChannelListener<? super TcpChannel> openListener, ChannelListener<? super BoundChannel<InetSocketAddress>> bindListener)
          Establish a connection to a TCP server.
 IoFuture<TcpChannel> TcpConnector.connectTo(InetSocketAddress destination, ChannelListener<? super TcpChannel> openListener, ChannelListener<? super BoundChannel<InetSocketAddress>> bindListener)
          Establish a connection to a TCP server.
 LocalServer Xnio.createLocalDatagramServer(ChannelListener<? super DatagramChannel<String>> openListener, OptionMap optionMap)
          Create a local datagram server.
 LocalServer Xnio.createLocalDatagramServer(Executor executor, ChannelListener<? super DatagramChannel<String>> openListener, OptionMap optionMap)
          Create a local datagram server.
 LocalServer Xnio.createLocalStreamServer(ChannelListener<? super ConnectedStreamChannel<String>> openListener, OptionMap optionMap)
          Create a local stream server.
 LocalServer Xnio.createLocalStreamServer(Executor executor, ChannelListener<? super ConnectedStreamChannel<String>> openListener, OptionMap optionMap)
          Create a local stream server.
 IoFuture<? extends Closeable> Xnio.createOneWayPipeConnection(ChannelListener<? super StreamSourceChannel> sourceListener, ChannelListener<? super StreamSinkChannel> sinkListener)
          Create a single one-way pipe connection.
 IoFuture<? extends Closeable> Xnio.createOneWayPipeConnection(ChannelListener<? super StreamSourceChannel> sourceListener, ChannelListener<? super StreamSinkChannel> sinkListener)
          Create a single one-way pipe connection.
 IoFuture<? extends Closeable> Xnio.createOneWayPipeConnection(Executor executor, ChannelListener<? super StreamSourceChannel> sourceListener, ChannelListener<? super StreamSinkChannel> sinkListener)
          Create a single one-way pipe connection.
 IoFuture<? extends Closeable> Xnio.createOneWayPipeConnection(Executor executor, ChannelListener<? super StreamSourceChannel> sourceListener, ChannelListener<? super StreamSinkChannel> sinkListener)
          Create a single one-way pipe connection.
 IoFuture<? extends Closeable> Xnio.createPipeConnection(ChannelListener<? super StreamChannel> leftListener, ChannelListener<? super StreamChannel> rightListener)
          Create a single pipe connection.
 IoFuture<? extends Closeable> Xnio.createPipeConnection(ChannelListener<? super StreamChannel> leftListener, ChannelListener<? super StreamChannel> rightListener)
          Create a single pipe connection.
 IoFuture<? extends Closeable> Xnio.createPipeConnection(Executor executor, ChannelListener<? super StreamChannel> leftListener, ChannelListener<? super StreamChannel> rightListener)
          Create a single pipe connection.
 IoFuture<? extends Closeable> Xnio.createPipeConnection(Executor executor, ChannelListener<? super StreamChannel> leftListener, ChannelListener<? super StreamChannel> rightListener)
          Create a single pipe connection.
 ChannelSource<? extends StreamChannel> Xnio.createPipeServer(ChannelListener<? super StreamChannel> openListener)
          Create a pipe "server".
 ChannelSource<? extends StreamChannel> Xnio.createPipeServer(Executor executor, ChannelListener<? super StreamChannel> openListener)
          Create a pipe "server".
 ChannelSource<? extends StreamSinkChannel> Xnio.createPipeSinkServer(ChannelListener<? super StreamSourceChannel> openListener)
          Create a one-way pipe "server".
 ChannelSource<? extends StreamSinkChannel> Xnio.createPipeSinkServer(Executor executor, ChannelListener<? super StreamSourceChannel> openListener)
          Create a one-way pipe "server".
 ChannelSource<? extends StreamSourceChannel> Xnio.createPipeSourceServer(ChannelListener<? super StreamSinkChannel> openListener)
          Create a one-way pipe "server".
 ChannelSource<? extends StreamSourceChannel> Xnio.createPipeSourceServer(Executor executor, ChannelListener<? super StreamSinkChannel> openListener)
          Create a one-way pipe "server".
 SslTcpServer Xnio.createSslTcpServer(ChannelListener<? super SslTcpChannel> openListener, OptionMap optionMap)
          Create an unbound TCP SSL server.
 SslTcpServer Xnio.createSslTcpServer(Executor executor, ChannelListener<? super SslTcpChannel> openListener, OptionMap optionMap)
          Create an unbound TCP SSL server.
 TcpServer Xnio.createTcpServer(ChannelListener<? super TcpChannel> openListener, OptionMap optionMap)
          Create an unbound TCP server.
 TcpServer Xnio.createTcpServer(Executor executor, ChannelListener<? super TcpChannel> openListener, OptionMap optionMap)
          Create an unbound TCP server.
 UdpServer Xnio.createUdpServer(ChannelListener<? super UdpChannel> bindListener, OptionMap optionMap)
          Create an unbound UDP server.
 UdpServer Xnio.createUdpServer(Executor executor, ChannelListener<? super UdpChannel> bindListener, OptionMap optionMap)
          Create an unbound UDP server.
static
<T extends Channel>
ChannelListener<T>
IoUtils.executorChannelListener(ChannelListener<T> listener, Executor executor)
          Get a channel listener which executes a delegate channel listener via an executor.
static
<T extends Channel>
Runnable
IoUtils.getChannelListenerTask(T channel, ChannelListener<? super T> channelListener)
          Get a task which invokes the given channel listener on the given channel.
static
<T extends Channel>
void
IoUtils.invokeChannelListener(Executor executor, T channel, ChannelListener<? super T> channelListener)
          Invoke a channel listener on a given channel, logging any errors, using the given executor.
static
<T extends Channel>
boolean
IoUtils.invokeChannelListener(T channel, ChannelListener<? super T> channelListener)
          Invoke a channel listener on a given channel, logging any errors.
 IoFuture<? extends T> ChannelSource.open(ChannelListener<? super T> openListener)
          Open a channel.
 IoFuture<TcpChannel> TcpChannelSource.open(ChannelListener<? super TcpChannel> openListener)
          Open a channel.
 void ChannelListener.Setter.set(ChannelListener<? super T> listener)
          Set the listener, or null to ignore the associated event type.
 

Method parameters in org.jboss.xnio with type arguments of type ChannelListener
static
<T extends Channel>
ChannelListener.Setter<T>
IoUtils.getSetter(AtomicReference<ChannelListener<? super T>> atomicReference)
          Get a setter based on an atomic reference.
static
<T extends Channel,C>
ChannelListener.Setter<T>
IoUtils.getSetter(C channel, AtomicReferenceFieldUpdater<C,ChannelListener> updater)
          Get a setter based on an atomic reference field updater.
 

Uses of ChannelListener in org.jboss.xnio.channels
 

Methods in org.jboss.xnio.channels that return ChannelListener
static ChannelListener<TcpChannel> Channels.createSslTcpChannelListener(SSLContext sslContext, ChannelListener<? super SslTcpChannel> sslChannelListener, Executor executor, OptionMap optionMap)
          Deprecated. Use the methods on Xnio instead in order to support alternate, non-JSSE implementations.
 

Methods in org.jboss.xnio.channels with parameters of type ChannelListener
static ChannelListener<TcpChannel> Channels.createSslTcpChannelListener(SSLContext sslContext, ChannelListener<? super SslTcpChannel> sslChannelListener, Executor executor, OptionMap optionMap)
          Deprecated. Use the methods on Xnio instead in order to support alternate, non-JSSE implementations.
 


XNIO API 2.1.0.CR2

Copyright © 2010 JBoss, a division of Red Hat, Inc.