Package org.springframework.integration.ip.tcp.connection
@NonNullApi
package org.springframework.integration.ip.tcp.connection
All things related to tcp connections - client and
server factories; listener and sender interfaces.
-
ClassDescriptionAbstract class for client connection factories; client connection factories establish outgoing connections.Base class for all connection factories.Base class for all server connection factories.Base class for TCP Connection Support implementations.Connection factory that caches connections from the underlying target factory.Edpoints implementing this interface are capable of running in client-mode.Intended to be run on a schedule, simply gets the connection from a client connection factory each time it is run.A factory used to create TcpConnection objects.Default implementation of
TcpNetConnectionSupport
.Implementation of TcpSocketFactorySupport for non-SSL socketsServerSocket
andSocket
.Implementation ofTcpNioConnectionSupport
for non-SSL NIO connections.Implementation ofTcpNioConnectionSupport
for SSL NIO connections.Default implementation ofTcpSocketSupport
; makes no changes to sockets.Default implementation ofTcpSSLContextSupport
; uses a 'TLS' (by default)SSLContext
, initialized with 'JKS' keystores, managed by 'SunX509' Key and Trust managers.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.Simple wrapper aroundSocket
providing access to getters (except input/output streams).An abstraction overSocket
andSocketChannel
that sendsMessage
objects by serializing the payload and streaming it to the destination.ApplicationEvent representing normal operations on aTcpConnection
.ApplicationEvent representing exceptions on aTcpConnection
.An event emitted when an endpoint cannot correlate a connection id to a connection; the cause is a messaging exception with the failed message.An event emitted when a connection could not be established for some reason.Interface for TCP connection interceptor factories.Base class forTcpConnectionInterceptor
s; passes all method calls through to the underlyingTcpConnection
.IpIntegrationEvent
representing exceptions on a TCP server socket/channel.IpIntegrationEvent
emitted when a server begins listening.Base class for TcpConnections.Classes that implement this interface may register with a connection factory to receive messages retrieved from aTcpConnection
.Maps incoming data from aTcpConnection
to aMessage
.A client connection factory that createsTcpNetConnection
s.A TcpConnection that uses and underlyingSocket
.Used by NET connection factories to instantiate aTcpNetConnection
object.Implements a server connection factory that producesTcpNetConnection
s using aServerSocket
.A client connection factory that createsTcpNioConnection
s.A TcpConnection that uses and underlyingSocketChannel
.Used by NIO connection factories to instantiate aTcpNioConnection
object./** Implements a server connection factory that producesTcpNioConnection
s using aServerSocketChannel
.Implementation ofTcpConnection
supporting SSL/TLS over NIO.An interface representing a sending client of a connection factory.Connection factories that act as TCP servers, listening for incoming connections.Strategy interface for supplying Socket Factories.Strategy interface for modifying sockets.Strategy interface for the creation of anSSLContext
object for use with SSL/TLS sockets.A client connection factory that binds a connection to a thread.