Uses of Interface
org.apache.mina.core.future.ConnectFuture
-
Packages that use ConnectFuture Package Description org.apache.mina.core.future org.apache.mina.core.polling Base class for implementing transport based on active polling strategies like NIO select call, or any API based on I/O polling system calls (epoll, poll, select, kqueue, etc).org.apache.mina.core.service org.apache.mina.proxy org.apache.mina.proxy.session org.apache.mina.transport.vmpipe In-VM pipe support which removes the overhead of local loopback communication. -
-
Uses of ConnectFuture in org.apache.mina.core.future
Classes in org.apache.mina.core.future that implement ConnectFuture Modifier and Type Class Description class
DefaultConnectFuture
A default implementation ofConnectFuture
.Methods in org.apache.mina.core.future that return ConnectFuture Modifier and Type Method Description ConnectFuture
ConnectFuture. addListener(IoFutureListener<?> listener)
Adds an event listener which is notified when this future is completed.ConnectFuture
DefaultConnectFuture. addListener(IoFutureListener<?> listener)
Adds an event listener which is notified when this future is completed.ConnectFuture
ConnectFuture. await()
Wait for the asynchronous operation to complete.ConnectFuture
DefaultConnectFuture. await()
Wait for the asynchronous operation to complete.ConnectFuture
ConnectFuture. awaitUninterruptibly()
Wait for the asynchronous operation to complete uninterruptibly.ConnectFuture
DefaultConnectFuture. awaitUninterruptibly()
Wait for the asynchronous operation to complete uninterruptibly.static ConnectFuture
DefaultConnectFuture. newFailedFuture(Throwable exception)
Creates a new instance of a Connection Failure, with the associated cause.ConnectFuture
ConnectFuture. removeListener(IoFutureListener<?> listener)
Removes an existing event listener so it won't be notified when the future is completed.ConnectFuture
DefaultConnectFuture. removeListener(IoFutureListener<?> listener)
Removes an existing event listener so it won't be notified when the future is completed. -
Uses of ConnectFuture in org.apache.mina.core.polling
Classes in org.apache.mina.core.polling that implement ConnectFuture Modifier and Type Class Description class
AbstractPollingIoConnector.ConnectionRequest
A ConnectionRequest's IoutureMethods in org.apache.mina.core.polling that return ConnectFuture Modifier and Type Method Description protected ConnectFuture
AbstractPollingIoConnector. connect0(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Implement this method to perform the actual connect operation.Methods in org.apache.mina.core.polling that return types with arguments of type ConnectFuture Modifier and Type Method Description IoSessionInitializer<? extends ConnectFuture>
AbstractPollingIoConnector.ConnectionRequest. getSessionInitializer()
Method parameters in org.apache.mina.core.polling with type arguments of type ConnectFuture Modifier and Type Method Description protected ConnectFuture
AbstractPollingIoConnector. connect0(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Implement this method to perform the actual connect operation.Constructor parameters in org.apache.mina.core.polling with type arguments of type ConnectFuture Constructor Description ConnectionRequest(H handle, IoSessionInitializer<? extends ConnectFuture> callback)
Creates a new ConnectionRequest instance -
Uses of ConnectFuture in org.apache.mina.core.service
Methods in org.apache.mina.core.service that return ConnectFuture Modifier and Type Method Description ConnectFuture
AbstractIoConnector. connect()
Connects to thedefault remote address
.ConnectFuture
AbstractIoConnector. connect(SocketAddress remoteAddress)
Connects to the specified remote address.ConnectFuture
AbstractIoConnector. connect(SocketAddress remoteAddress, SocketAddress localAddress)
Connects to the specified remote address binding to the specified local address.ConnectFuture
AbstractIoConnector. connect(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Connects to the specified remote address binding to the specified local address and and invokes theioSessionInitializer
when the IoSession is created but beforeIoHandler.sessionCreated(IoSession)
is invoked.ConnectFuture
AbstractIoConnector. connect(SocketAddress remoteAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Connects to the specified remote address and invokes theioSessionInitializer
when the IoSession is created but beforeIoHandler.sessionCreated(IoSession)
is invoked.ConnectFuture
AbstractIoConnector. connect(IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Connects to thedefault remote address
and invokes theioSessionInitializer
when the IoSession is created but beforeIoHandler.sessionCreated(IoSession)
is invoked.ConnectFuture
IoConnector. connect()
Connects to thedefault remote address
.ConnectFuture
IoConnector. connect(SocketAddress remoteAddress)
Connects to the specified remote address.ConnectFuture
IoConnector. connect(SocketAddress remoteAddress, SocketAddress localAddress)
Connects to the specified remote address binding to the specified local address.ConnectFuture
IoConnector. connect(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Connects to the specified remote address binding to the specified local address and and invokes theioSessionInitializer
when the IoSession is created but beforeIoHandler.sessionCreated(IoSession)
is invoked.ConnectFuture
IoConnector. connect(SocketAddress remoteAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Connects to the specified remote address and invokes theioSessionInitializer
when the IoSession is created but beforeIoHandler.sessionCreated(IoSession)
is invoked.ConnectFuture
IoConnector. connect(IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Connects to thedefault remote address
and invokes theioSessionInitializer
when the IoSession is created but beforeIoHandler.sessionCreated(IoSession)
is invoked.protected abstract ConnectFuture
AbstractIoConnector. connect0(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Implement this method to perform the actual connect operation.Method parameters in org.apache.mina.core.service with type arguments of type ConnectFuture Modifier and Type Method Description ConnectFuture
AbstractIoConnector. connect(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Connects to the specified remote address binding to the specified local address and and invokes theioSessionInitializer
when the IoSession is created but beforeIoHandler.sessionCreated(IoSession)
is invoked.ConnectFuture
AbstractIoConnector. connect(SocketAddress remoteAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Connects to the specified remote address and invokes theioSessionInitializer
when the IoSession is created but beforeIoHandler.sessionCreated(IoSession)
is invoked.ConnectFuture
AbstractIoConnector. connect(IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Connects to thedefault remote address
and invokes theioSessionInitializer
when the IoSession is created but beforeIoHandler.sessionCreated(IoSession)
is invoked.ConnectFuture
IoConnector. connect(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Connects to the specified remote address binding to the specified local address and and invokes theioSessionInitializer
when the IoSession is created but beforeIoHandler.sessionCreated(IoSession)
is invoked.ConnectFuture
IoConnector. connect(SocketAddress remoteAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Connects to the specified remote address and invokes theioSessionInitializer
when the IoSession is created but beforeIoHandler.sessionCreated(IoSession)
is invoked.ConnectFuture
IoConnector. connect(IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Connects to thedefault remote address
and invokes theioSessionInitializer
when the IoSession is created but beforeIoHandler.sessionCreated(IoSession)
is invoked.protected abstract ConnectFuture
AbstractIoConnector. connect0(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Implement this method to perform the actual connect operation. -
Uses of ConnectFuture in org.apache.mina.proxy
Methods in org.apache.mina.proxy that return ConnectFuture Modifier and Type Method Description protected ConnectFuture
ProxyConnector. connect0(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Connects to the specifiedaddress
.protected ConnectFuture
ProxyConnector. fireConnected(IoSession session)
Fires the connection event on the real future to notify the client.Method parameters in org.apache.mina.proxy with type arguments of type ConnectFuture Modifier and Type Method Description protected ConnectFuture
ProxyConnector. connect0(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Connects to the specifiedaddress
. -
Uses of ConnectFuture in org.apache.mina.proxy.session
Classes in org.apache.mina.proxy.session with type parameters of type ConnectFuture Modifier and Type Class Description class
ProxyIoSessionInitializer<T extends ConnectFuture>
ProxyIoSessionInitializer.java -IoSessionInitializer
wrapper class to inject theProxyIoSession
object that contains all the attributes of the target connection into theIoSession
. -
Uses of ConnectFuture in org.apache.mina.transport.vmpipe
Methods in org.apache.mina.transport.vmpipe that return ConnectFuture Modifier and Type Method Description protected ConnectFuture
VmPipeConnector. connect0(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Implement this method to perform the actual connect operation.Method parameters in org.apache.mina.transport.vmpipe with type arguments of type ConnectFuture Modifier and Type Method Description protected ConnectFuture
VmPipeConnector. connect0(SocketAddress remoteAddress, SocketAddress localAddress, IoSessionInitializer<? extends ConnectFuture> sessionInitializer)
Implement this method to perform the actual connect operation.
-