|
XNIO API 2.0.2.GA | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TcpChannel | |
|---|---|
| org.jboss.xnio | The main API package for XNIO. |
| org.jboss.xnio.channels | Defines an enhanced set of channels. |
| Uses of TcpChannel in org.jboss.xnio |
|---|
| Methods in org.jboss.xnio that return types with arguments of type TcpChannel | |
|---|---|
IoFuture<TcpChannel> |
TcpConnector.connectTo(java.net.InetSocketAddress dest,
ChannelListener<? super TcpChannel> openListener,
ChannelListener<? super BoundChannel<java.net.InetSocketAddress>> bindListener)
Establish a connection to a TCP server. |
ChannelListener.Setter<? extends TcpChannel> |
TcpServer.getOpenSetter()
Get the open handler setter for this server. |
IoFuture<TcpChannel> |
TcpChannelSource.open(ChannelListener<? super TcpChannel> openListener)
Open a channel. |
| Method parameters in org.jboss.xnio with type arguments of type TcpChannel | |
|---|---|
IoFuture<TcpChannel> |
TcpConnector.connectTo(java.net.InetSocketAddress dest,
ChannelListener<? super TcpChannel> openListener,
ChannelListener<? super BoundChannel<java.net.InetSocketAddress>> bindListener)
Establish a connection to a TCP server. |
TcpServer |
Xnio.createTcpServer(ChannelListener<? super TcpChannel> openHandler,
OptionMap optionMap)
Create an unbound TCP server. |
TcpServer |
Xnio.createTcpServer(java.util.concurrent.Executor executor,
ChannelListener<? super TcpChannel> openHandler,
OptionMap optionMap)
Create an unbound TCP server. |
IoFuture<TcpChannel> |
TcpChannelSource.open(ChannelListener<? super TcpChannel> openListener)
Open a channel. |
| Uses of TcpChannel in org.jboss.xnio.channels |
|---|
| Subinterfaces of TcpChannel in org.jboss.xnio.channels | |
|---|---|
interface |
SslTcpChannel
A TLS-encapsulated TCP channel. |
| Methods in org.jboss.xnio.channels that return types with arguments of type TcpChannel | |
|---|---|
static ChannelListener<TcpChannel> |
Channels.createSslTcpChannelListener(javax.net.ssl.SSLContext sslContext,
ChannelListener<? super SslTcpChannel> sslChannelListener,
java.util.concurrent.Executor executor,
OptionMap optionMap)
Create a channel lister which wraps the incoming connection with an SSL connection. |
ChannelListener.Setter<? extends TcpChannel> |
TcpChannel.getCloseSetter()
Get the setter which can be used to change the close handler for this channel. |
ChannelListener.Setter<? extends TcpChannel> |
TcpChannel.getReadSetter()
Get the setter which can be used to change the read handler for this channel. |
ChannelListener.Setter<? extends TcpChannel> |
TcpChannel.getWriteSetter()
Get the setter which can be used to change the write handler for this channel. |
| Methods in org.jboss.xnio.channels with parameters of type TcpChannel | |
|---|---|
static SslTcpChannel |
Channels.createSslTcpChannel(javax.net.ssl.SSLContext sslContext,
TcpChannel tcpChannel,
java.util.concurrent.Executor executor,
OptionMap optionMap)
Create a SSL/TLS-enabled channel over a TCP channel. |
|
XNIO API 2.0.2.GA | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||