|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.ip.tcp.connection.AbstractConnectionFactory
org.springframework.integration.ip.tcp.connection.AbstractClientConnectionFactory
public abstract class AbstractClientConnectionFactory
Abstract class for client connection factories; client connection factories establish outgoing connections.
| Field Summary | |
|---|---|
protected TcpConnection |
theConnection
|
| Fields inherited from class org.springframework.integration.ip.tcp.connection.AbstractConnectionFactory |
|---|
active, DEFAULT_REPLY_TIMEOUT, deserializer, host, interceptorFactoryChain, listener, logger, mapper, poolSize, port, sender, serializer, singleUse, soTimeout, taskExecutor |
| Constructor Summary | |
|---|---|
AbstractClientConnectionFactory(java.lang.String host,
int port)
Constructs a factory that will established connections to the host and port. |
|
| Method Summary | |
|---|---|
protected void |
initializeConnection(TcpConnection connection,
java.net.Socket socket)
Transfers attributes such as (de)serializers, singleUse etc to a new connection. |
| Methods inherited from class org.springframework.integration.ip.tcp.connection.AbstractConnectionFactory |
|---|
close, getHost, getPhase, getPort, getSoLinger, getSoReceiveBufferSize, getSoSendBufferSize, getSoTimeout, getSoTrafficClass, isAutoStartup, isSingleUse, isSoKeepAlive, isSoTcpNoDelay, registerListener, registerSender, setDeserializer, setInterceptorFactoryChain, setMapper, setPoolSize, setSerializer, setSingleUse, setSocketAttributes, setSoKeepAlive, setSoLinger, setSoReceiveBufferSize, setSoSendBufferSize, setSoTcpNoDelay, setSoTimeout, setSoTrafficClass, setTaskExecutor, start, stop, stop, wrapConnection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.springframework.integration.ip.tcp.connection.ConnectionFactory |
|---|
getConnection |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Methods inherited from interface org.springframework.context.Lifecycle |
|---|
isRunning |
| Field Detail |
|---|
protected TcpConnection theConnection
| Constructor Detail |
|---|
public AbstractClientConnectionFactory(java.lang.String host,
int port)
host - The host.port - The port.| Method Detail |
|---|
protected void initializeConnection(TcpConnection connection,
java.net.Socket socket)
connection - The new connection.socket - The new socket.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||