XNIO API 2.1.0.CR2

Uses of Interface
org.jboss.xnio.ChannelSource

Packages that use ChannelSource
org.jboss.xnio The main API package for XNIO. 
 

Uses of ChannelSource in org.jboss.xnio
 

Subinterfaces of ChannelSource in org.jboss.xnio
 interface TcpChannelSource
          A channel source specifically for connecting to TCP remote servers.
 

Methods in org.jboss.xnio that return ChannelSource
 ChannelSource<T> Connector.createChannelSource(A dest)
          Create a client that always connects to the given destination.
 ChannelSource<SslTcpChannel> SslTcpConnector.createChannelSource(InetSocketAddress destination)
          Create a channel source that always connects to the given SSL TCP server.
 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".
static
<T extends Channel>
ChannelSource<T>
IoUtils.getRetryingChannelSource(ChannelSource<T> delegate, int maxTries)
          A channel source which tries to acquire a channel from a delegate channel source the given number of times before giving up.
 

Methods in org.jboss.xnio with parameters of type ChannelSource
static
<T extends Channel>
ChannelSource<T>
IoUtils.getRetryingChannelSource(ChannelSource<T> delegate, int maxTries)
          A channel source which tries to acquire a channel from a delegate channel source the given number of times before giving up.
 


XNIO API 2.1.0.CR2

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