Package | Description |
---|---|
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.
|
Modifier and Type | Method | Description |
---|---|---|
IoSessionInitializer<? extends ConnectFuture> |
AbstractPollingIoConnector.ConnectionRequest.getSessionInitializer() |
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 | Description |
---|---|
ConnectionRequest(H handle,
IoSessionInitializer<? extends ConnectFuture> callback) |
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 the
ioSessionInitializer when the
IoSession is created but before IoHandler.sessionCreated(IoSession)
is invoked. |
ConnectFuture |
AbstractIoConnector.connect(SocketAddress remoteAddress,
IoSessionInitializer<? extends ConnectFuture> sessionInitializer) |
Connects to the specified remote address and invokes
the
ioSessionInitializer when the IoSession is created but before
IoHandler.sessionCreated(IoSession) is invoked. |
ConnectFuture |
AbstractIoConnector.connect(IoSessionInitializer<? extends ConnectFuture> sessionInitializer) |
Connects to the
default
remote address and invokes the ioSessionInitializer when
the IoSession is created but before IoHandler.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 the
ioSessionInitializer when the
IoSession is created but before IoHandler.sessionCreated(IoSession)
is invoked. |
ConnectFuture |
IoConnector.connect(SocketAddress remoteAddress,
IoSessionInitializer<? extends ConnectFuture> sessionInitializer) |
Connects to the specified remote address and invokes
the
ioSessionInitializer when the IoSession is created but before
IoHandler.sessionCreated(IoSession) is invoked. |
ConnectFuture |
IoConnector.connect(IoSessionInitializer<? extends ConnectFuture> sessionInitializer) |
Connects to the
default
remote address and invokes the ioSessionInitializer when
the IoSession is created but before IoHandler.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.
|
protected void |
AbstractIoService.initSession(IoSession session,
IoFuture future,
IoSessionInitializer sessionInitializer) |
Modifier and Type | Method | Description |
---|---|---|
protected ConnectFuture |
ProxyConnector.connect0(SocketAddress remoteAddress,
SocketAddress localAddress,
IoSessionInitializer<? extends ConnectFuture> sessionInitializer) |
Connects to the specified
address . |
Modifier and Type | Class | Description |
---|---|---|
class |
ProxyIoSessionInitializer<T extends ConnectFuture> |
ProxyIoSessionInitializer.java -
IoSessionInitializer wrapper class to inject the
ProxyIoSession object that contains all the attributes of the target connection
into the IoSession . |
Constructor | Description |
---|---|
ProxyIoSessionInitializer(IoSessionInitializer<T> wrappedSessionInitializer,
ProxyIoSession proxyIoSession) |
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.
|
Copyright © 2004–2018 Apache MINA Project. All rights reserved.