Package org.springframework.integration.ip.tcp.connection
All things related to tcp connections - client and
server factories; listener and sender interfaces.
-
Interface Summary Interface Description ClientModeCapable Edpoints implementing this interface are capable of running in client-mode.ConnectionFactory A factory used to create TcpConnection objects.TcpConnection An abstraction overSocket
andSocketChannel
that sendsMessage
objects by serializing the payload and streaming it to the destination.TcpConnectionInterceptor TcpConnectionInterceptorFactory Interface for TCP connection interceptor factories.TcpListener Classes that implement this interface may register with a connection factory to receive messages retrieved from aTcpConnection
TcpNetConnectionSupport Used by NET connection factories to instantiate aTcpNetConnection
object.TcpNioConnectionSupport Used by NIO connection factories to instantiate aTcpNioConnection
object.TcpSender An interface representing a sending client of a connection factory.TcpServerConnectionFactory Connection factories that act as TCP servers, listening for incoming connections.TcpSocketFactorySupport Strategy interface for supplying Socket Factories.TcpSocketSupport Strategy interface for modifying sockets.TcpSSLContextSupport Strategy interface for the creation of anSSLContext
object for use with SSL/TLS sockets. -
Class Summary Class Description AbstractClientConnectionFactory Abstract class for client connection factories; client connection factories establish outgoing connections.AbstractConnectionFactory Base class for all connection factories.AbstractServerConnectionFactory Base class for all server connection factories.AbstractTcpConnectionSupport Base class for TCP Connection Support implementations.CachingClientConnectionFactory Connection factory that caches connections from the underlying target factory.ClientModeConnectionManager Intended to be run on a schedule, simply gets the connection from a client connection factory each time it is run.DefaultTcpNetConnectionSupport Default implementation ofTcpNetConnectionSupport
.DefaultTcpNetSocketFactorySupport Implementation of TcpSocketFactorySupport for non-SSL socketsServerSocket
andSocket
.DefaultTcpNetSSLSocketFactorySupport DefaultTcpNioConnectionSupport Implementation ofTcpNioConnectionSupport
for non-SSL NIO connections.DefaultTcpNioSSLConnectionSupport Implementation ofTcpNioConnectionSupport
for SSL NIO connections.DefaultTcpSocketSupport Default implementation ofTcpSocketSupport
; makes no changes to sockets.DefaultTcpSSLContextSupport Default implementation ofTcpSSLContextSupport
; uses a 'TLS' (by default)SSLContext
, initialized with 'JKS' keystores, managed by 'SunX509' Key and Trust managers.FailoverClientConnectionFactory Given a list of connection factories, serves upTcpConnection
s that can iterate over a connection from each factory until the write succeeds or the list is exhausted.MessageConvertingTcpMessageMapper SocketInfo Simple wrapper aroundSocket
providing access to getters (except input/output streams).TcpConnectionCloseEvent TcpConnectionEvent ApplicationEvent representing normal operations on aTcpConnection
.TcpConnectionExceptionEvent ApplicationEvent representing exceptions on aTcpConnection
.TcpConnectionFailedCorrelationEvent An event emitted when an endpoint cannot correlate a connection id to a connection; the cause is a messaging exception with the failed message.TcpConnectionFailedEvent An event emitted when a connection could not be established for some reason.TcpConnectionInterceptorFactoryChain TcpConnectionInterceptorSupport Base class forTcpConnectionInterceptor
s; passes all method calls through to the underlyingTcpConnection
.TcpConnectionOpenEvent TcpConnectionServerExceptionEvent IpIntegrationEvent
representing exceptions on a TCP server socket/channel.TcpConnectionServerListeningEvent IpIntegrationEvent
emitted when a server begins listening.TcpConnectionSupport Base class for TcpConnections.TcpMessageMapper Maps incoming data from aTcpConnection
to aMessage
.TcpNetClientConnectionFactory A client connection factory that createsTcpNetConnection
s.TcpNetConnection A TcpConnection that uses and underlyingSocket
.TcpNetServerConnectionFactory Implements a server connection factory that producesTcpNetConnection
s using aServerSocket
.TcpNioClientConnectionFactory A client connection factory that createsTcpNioConnection
s.TcpNioConnection A TcpConnection that uses and underlyingSocketChannel
.TcpNioServerConnectionFactory /** Implements a server connection factory that producesTcpNioConnection
s using aServerSocketChannel
.TcpNioSSLConnection Implementation ofTcpConnection
supporting SSL/TLS over NIO.ThreadAffinityClientConnectionFactory A client connection factory that binds a connection to a thread. -
Exception Summary Exception Description NoListenerException