public interface XnioIoFactory
IoFuture<StreamConnection> openStreamConnection(SocketAddress destination, ChannelListener<? super StreamConnection> openListener, OptionMap optionMap)
IoFuture, and vice-versa.destination - the destination addressopenListener - the listener which will be notified when the channel is open, or null for noneoptionMap - the option mapIoFuture<StreamConnection> openStreamConnection(SocketAddress destination, ChannelListener<? super StreamConnection> openListener, ChannelListener<? super BoundChannel> bindListener, OptionMap optionMap)
IoFuture, and vice-versa.destination - the destination addressopenListener - the listener which will be notified when the channel is open, or null for nonebindListener - the listener which will be notified when the channel is bound, or null for noneoptionMap - the option mapIoFuture<StreamConnection> openStreamConnection(SocketAddress bindAddress, SocketAddress destination, ChannelListener<? super StreamConnection> openListener, ChannelListener<? super BoundChannel> bindListener, OptionMap optionMap)
IoFuture, and vice-versa.bindAddress - the local address to bind todestination - the destination addressopenListener - the listener which will be notified when the channel is open, or null for nonebindListener - the listener which will be notified when the channel is bound, or null for noneoptionMap - the option mapIoFuture<StreamConnection> acceptStreamConnection(SocketAddress destination, ChannelListener<? super StreamConnection> openListener, ChannelListener<? super BoundChannel> bindListener, OptionMap optionMap)
destination - the destination (bind) addressopenListener - the listener which will be notified when the channel is open, or null for nonebindListener - the listener which will be notified when the acceptor is bound, or null for noneoptionMap - the option mapIoFuture<MessageConnection> openMessageConnection(SocketAddress destination, ChannelListener<? super MessageConnection> openListener, OptionMap optionMap)
IoFuture, and vice-versa.destination - the destination addressopenListener - the listener which will be notified when the channel is open, or null for noneoptionMap - the option mapIoFuture<MessageConnection> acceptMessageConnection(SocketAddress destination, ChannelListener<? super MessageConnection> openListener, ChannelListener<? super BoundChannel> bindListener, OptionMap optionMap)
IoFuture, and vice-versa.destination - the destination (bind) addressopenListener - the listener which will be notified when the channel is open, or null for nonebindListener - the listener which will be notified when the acceptor is bound, or null for noneoptionMap - the option mapChannelPipe<StreamChannel,StreamChannel> createFullDuplexPipe() throws IOException
IOException - if the pipe could not be createdChannelPipe<StreamConnection,StreamConnection> createFullDuplexPipeConnection() throws IOException
IOException - if the pipe could not be createdChannelPipe<StreamSourceChannel,StreamSinkChannel> createHalfDuplexPipe() throws IOException
IOException - if the pipe could not be createdChannelPipe<StreamConnection,StreamConnection> createFullDuplexPipeConnection(XnioIoFactory peer) throws IOException
peer - the peer to use for controlling the remote (right) sideIOException - if the pipe could not be createdChannelPipe<StreamSourceChannel,StreamSinkChannel> createHalfDuplexPipe(XnioIoFactory peer) throws IOException
peer - the peer to use for the sink (right) sideIOException - if the pipe could not be createdCopyright © 2018 JBoss by Red Hat. All rights reserved.