Class TcpServerConnectionFactorySpec
java.lang.Object
org.springframework.beans.factory.config.AbstractFactoryBean<T>
org.springframework.integration.dsl.IntegrationComponentSpec<S,C>
org.springframework.integration.ip.dsl.AbstractConnectionFactorySpec<TcpServerConnectionFactorySpec,AbstractServerConnectionFactory>
org.springframework.integration.ip.dsl.TcpServerConnectionFactorySpec
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,BeanFactoryAware
,DisposableBean
,FactoryBean<AbstractServerConnectionFactory>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
public class TcpServerConnectionFactorySpec extends AbstractConnectionFactorySpec<TcpServerConnectionFactorySpec,AbstractServerConnectionFactory>
- Since:
- 5.0
- Author:
- Gary Russell, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
PARSER, target
-
Constructor Summary
Constructors Modifier Constructor Description protected
TcpServerConnectionFactorySpec(int port)
protected
TcpServerConnectionFactorySpec(int port, boolean nio)
-
Method Summary
Modifier and Type Method Description TcpServerConnectionFactorySpec
backlog(int backlog)
TcpServerConnectionFactorySpec
localAddress(String localAddress)
Methods inherited from class org.springframework.integration.ip.dsl.AbstractConnectionFactorySpec
deserializer, id, interceptorFactoryChain, leaveOpen, lookupHost, mapper, nioHarvestInterval, readDelay, serializer, singleUseConnections, soKeepAlive, soLinger, soReceiveBufferSize, soSendBufferSize, soTcpNoDelay, soTimeout, soTrafficClass, taskExecutor, tcpSocketSupport
Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
-
Constructor Details
-
TcpServerConnectionFactorySpec
protected TcpServerConnectionFactorySpec(int port) -
TcpServerConnectionFactorySpec
protected TcpServerConnectionFactorySpec(int port, boolean nio)
-
-
Method Details
-
localAddress
- Parameters:
localAddress
- the local address.- Returns:
- the spec.
- See Also:
AbstractServerConnectionFactory.setLocalAddress(String)
-
backlog
- Parameters:
backlog
- the backlog.- Returns:
- the spec.
- See Also:
AbstractServerConnectionFactory.setBacklog(int)
-