Class TcpNioServerConnectionFactorySpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<TcpNioServerConnectionFactorySpec, TcpNioServerConnectionFactory>
org.springframework.integration.ip.dsl.AbstractConnectionFactorySpec<TcpNioServerConnectionFactorySpec, TcpNioServerConnectionFactory>
org.springframework.integration.ip.dsl.TcpServerConnectionFactorySpec<TcpNioServerConnectionFactorySpec, TcpNioServerConnectionFactory>
org.springframework.integration.ip.dsl.TcpNioServerConnectionFactorySpec
- All Implemented Interfaces:
DisposableBean, FactoryBean<TcpNioServerConnectionFactory>, InitializingBean, Lifecycle, Phased, SmartLifecycle
public class TcpNioServerConnectionFactorySpec
extends TcpServerConnectionFactorySpec<TcpNioServerConnectionFactorySpec, TcpNioServerConnectionFactory>
- Since:
- 6.0.3
- Author:
- Gary Russell
-
Field Summary
Fields inherited from class IntegrationComponentSpec
logger, PARSER, targetFields inherited from interface FactoryBean
OBJECT_TYPE_ATTRIBUTEFields inherited from interface SmartLifecycle
DEFAULT_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnectionSupport(TcpNioConnectionSupport tcpNioSupport) TheTcpNioConnectionSupportto use.directBuffers(boolean usingDirectBuffers) True to use direct buffers.Methods inherited from class TcpServerConnectionFactorySpec
backlog, localAddressMethods inherited from class AbstractConnectionFactorySpec
deserializer, id, interceptorFactoryChain, leaveOpen, lookupHost, mapper, nioHarvestInterval, readDelay, serializer, singleUseConnections, socketSupport, soKeepAlive, soLinger, soReceiveBufferSize, soSendBufferSize, soTcpNoDelay, soTimeout, soTrafficClass, taskExecutorMethods inherited from class IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stopMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FactoryBean
isSingletonMethods inherited from interface SmartLifecycle
isPauseable
-
Constructor Details
-
TcpNioServerConnectionFactorySpec
protected TcpNioServerConnectionFactorySpec(int port)
-
-
Method Details
-
directBuffers
True to use direct buffers.- Parameters:
usingDirectBuffers- true for direct.- Returns:
- the spec.
- See Also:
-
connectionSupport
TheTcpNioConnectionSupportto use.- Parameters:
tcpNioSupport- theTcpNioConnectionSupport.- Returns:
- the spec.
- See Also:
-