public interface SocketConnector extends IoConnector
IoConnector for socket transport (TCP/IP).| Modifier and Type | Method and Description |
|---|---|
InetSocketAddress |
getDefaultRemoteAddress()
Returns the default remote InetSocketAddress to connect to when no argument
is specified in
IoConnector.connect() method. |
SocketSessionConfig |
getSessionConfig()
Returns the default configuration of the new SocketSessions created by
this connect service.
|
void |
setDefaultRemoteAddress(InetSocketAddress remoteAddress)
Sets the default remote InetSocketAddress to connect to when no argument is
specified in
IoConnector.connect() method. |
connect, connect, connect, connect, connect, connect, getConnectTimeout, getConnectTimeoutMillis, getDefaultLocalAddress, setConnectTimeout, setConnectTimeoutMillis, setDefaultLocalAddress, setDefaultRemoteAddressaddListener, broadcast, dispose, dispose, getActivationTime, getFilterChain, getFilterChainBuilder, getHandler, getManagedSessionCount, getManagedSessions, getScheduledWriteBytes, getScheduledWriteMessages, getSessionDataStructureFactory, getStatistics, getTransportMetadata, isActive, isDisposed, isDisposing, removeListener, setFilterChainBuilder, setHandler, setSessionDataStructureFactoryInetSocketAddress getDefaultRemoteAddress()
IoConnector.connect() method.
This method overrides the IoConnector.getDefaultRemoteAddress() method.getDefaultRemoteAddress in interface IoConnectorSocketSessionConfig getSessionConfig()
getSessionConfig in interface IoServicevoid setDefaultRemoteAddress(InetSocketAddress remoteAddress)
IoConnector.connect() method.
This method overrides the IoConnector.setDefaultRemoteAddress(java.net.SocketAddress) method.Copyright © 2004–2017 Apache MINA Project. All rights reserved.