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 overSocketandSocketChannelthat sendsMessageobjects 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 aTcpConnectionTcpNetConnectionSupport Used by NET connection factories to instantiate aTcpNetConnectionobject.TcpNioConnectionSupport Used by NIO connection factories to instantiate aTcpNioConnectionobject.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 anSSLContextobject 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 socketsServerSocketandSocket.DefaultTcpNetSSLSocketFactorySupport DefaultTcpNioConnectionSupport Implementation ofTcpNioConnectionSupportfor non-SSL NIO connections.DefaultTcpNioSSLConnectionSupport Implementation ofTcpNioConnectionSupportfor 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 upTcpConnections that can iterate over a connection from each factory until the write succeeds or the list is exhausted.MessageConvertingTcpMessageMapper SocketInfo Simple wrapper aroundSocketproviding 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 forTcpConnectionInterceptors; passes all method calls through to the underlyingTcpConnection.TcpConnectionOpenEvent TcpConnectionServerExceptionEvent IpIntegrationEventrepresenting exceptions on a TCP server socket/channel.TcpConnectionServerListeningEvent IpIntegrationEventemitted when a server begins listening.TcpConnectionSupport Base class for TcpConnections.TcpMessageMapper Maps incoming data from aTcpConnectionto aMessage.TcpNetClientConnectionFactory A client connection factory that createsTcpNetConnections.TcpNetConnection A TcpConnection that uses and underlyingSocket.TcpNetServerConnectionFactory Implements a server connection factory that producesTcpNetConnections using aServerSocket.TcpNioClientConnectionFactory A client connection factory that createsTcpNioConnections.TcpNioConnection A TcpConnection that uses and underlyingSocketChannel.TcpNioServerConnectionFactory /** Implements a server connection factory that producesTcpNioConnections using aServerSocketChannel.TcpNioSSLConnection Implementation ofTcpConnectionsupporting SSL/TLS over NIO.ThreadAffinityClientConnectionFactory A client connection factory that binds a connection to a thread. -
Exception Summary Exception Description NoListenerException