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, setDefaultRemoteAddress
addListener, broadcast, dispose, dispose, getActivationTime, getFilterChain, getFilterChainBuilder, getHandler, getManagedSessionCount, getManagedSessions, getScheduledWriteBytes, getScheduledWriteMessages, getSessionDataStructureFactory, getStatistics, getTransportMetadata, isActive, isDisposed, isDisposing, removeListener, setFilterChainBuilder, setHandler, setSessionDataStructureFactory
InetSocketAddress getDefaultRemoteAddress()
IoConnector.connect()
method.
This method overrides the IoConnector.getDefaultRemoteAddress()
method.getDefaultRemoteAddress
in interface IoConnector
SocketSessionConfig getSessionConfig()
getSessionConfig
in interface IoService
void setDefaultRemoteAddress(InetSocketAddress remoteAddress)
IoConnector.connect()
method.
This method overrides the IoConnector#setDefaultRemoteAddress()
method.Copyright © 2004–2014 Apache MINA Project. All rights reserved.