|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.mina.common.support.BaseIoService
org.apache.mina.common.support.BaseIoConnector
public abstract class BaseIoConnector
A base implementation of IoConnector.
| Constructor Summary | |
|---|---|
protected |
BaseIoConnector()
|
| Method Summary | |
|---|---|
ConnectFuture |
connect(java.net.SocketAddress address,
IoHandler handler)
Connects to the specified address. |
ConnectFuture |
connect(java.net.SocketAddress address,
java.net.SocketAddress localAddress,
IoHandler handler)
Connects to the specified address. |
| Methods inherited from class org.apache.mina.common.support.BaseIoService |
|---|
addListener, getFilterChain, getFilterChainBuilder, getListeners, getManagedServiceAddresses, getManagedSessions, isManaged, removeListener, setFilterChainBuilder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.mina.common.IoConnector |
|---|
connect, connect |
| Methods inherited from interface org.apache.mina.common.IoService |
|---|
addListener, getDefaultConfig, getFilterChain, getFilterChainBuilder, getManagedServiceAddresses, getManagedSessions, isManaged, removeListener, setFilterChainBuilder |
| Constructor Detail |
|---|
protected BaseIoConnector()
| Method Detail |
|---|
public ConnectFuture connect(java.net.SocketAddress address,
IoHandler handler)
IoConnectoraddress. If communication starts
successfully, events are fired to the specified
handler.
connect in interface IoConnectorConnectFuture that will tell the result of the connection attempt
public ConnectFuture connect(java.net.SocketAddress address,
java.net.SocketAddress localAddress,
IoHandler handler)
IoConnectoraddress. If communication starts
successfully, events are fired to the specified
handler.
connect in interface IoConnectorlocalAddress - the local address the channel is bound to
ConnectFuture that will tell the result of the connection attempt
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||