Uses of Interface
org.springframework.integration.ip.tcp.connection.TcpConnection
Packages that use TcpConnection
Package
Description
Base package for TCP Support.
All things related to tcp connections - client and
server factories; listener and sender interfaces.
-
Uses of TcpConnection in org.springframework.integration.ip.tcp
Methods in org.springframework.integration.ip.tcp that return TcpConnectionModifier and TypeMethodDescriptionprotected TcpConnectionMethod that actually does the write.protected TcpConnectionTcpSendingMessageHandler.obtainConnection(Message<?> message) Methods in org.springframework.integration.ip.tcp that return types with arguments of type TcpConnectionModifier and TypeMethodDescriptionprotected Map<String,TcpConnection> TcpSendingMessageHandler.getConnections()Methods in org.springframework.integration.ip.tcp with parameters of type TcpConnectionModifier and TypeMethodDescriptionvoidTcpInboundGateway.addNewConnection(TcpConnection connection) voidTcpOutboundGateway.addNewConnection(TcpConnection connection) voidTcpSendingMessageHandler.addNewConnection(TcpConnection connection) voidTcpInboundGateway.removeDeadConnection(TcpConnection connection) voidTcpOutboundGateway.removeDeadConnection(TcpConnection connection) voidTcpSendingMessageHandler.removeDeadConnection(TcpConnection connection) -
Uses of TcpConnection in org.springframework.integration.ip.tcp.connection
Subinterfaces of TcpConnection in org.springframework.integration.ip.tcp.connectionClasses in org.springframework.integration.ip.tcp.connection that implement TcpConnectionModifier and TypeClassDescriptionclassBase class forTcpConnectionInterceptors; passes all method calls through to the underlyingTcpConnection.classBase class for TcpConnections.classA TcpConnection that uses and underlyingSocket.classA TcpConnection that uses and underlyingSocketChannel.classImplementation ofTcpConnectionsupporting SSL/TLS over NIO.Methods in org.springframework.integration.ip.tcp.connection that return TcpConnectionModifier and TypeMethodDescriptionAbstractServerConnectionFactory.getConnection()Not supported because the factory manages multiple connections and this method cannot discriminate.ConnectionFactory.getConnection()Methods in org.springframework.integration.ip.tcp.connection with parameters of type TcpConnectionModifier and TypeMethodDescriptionprotected final voidTcpMessageMapper.addCustomHeaders(TcpConnection connection, MessageHeaders messageHeaders) voidTcpConnectionInterceptorSupport.addNewConnection(TcpConnection connection) voidTcpSender.addNewConnection(TcpConnection connection) When we are using sockets owned by aTcpListener, this method is called each time a new connection is made.protected final voidTcpMessageMapper.addStandardHeaders(TcpConnection connection, MessageHeaders messageHeaders) voidAbstractClientConnectionFactory.forceClose(TcpConnection connection) Force close the connection and null the field if it's a shared connection.voidCachingClientConnectionFactory.forceClose(TcpConnection connection) voidThreadAffinityClientConnectionFactory.forceClose(TcpConnection connection) voidTcpConnectionInterceptorSupport.removeDeadConnection(TcpConnection connection) default voidTcpSender.removeDeadConnection(TcpConnection connection) When we are using sockets owned by aTcpListener, this method is called each time a connection is closed.TcpMessageMapper.supplyCustomHeaders(TcpConnection connection) Override to provide additional headers.Message<?>MessageConvertingTcpMessageMapper.toMessage(TcpConnection connection, Map<String, Object> headers) Message<?>TcpMessageMapper.toMessage(TcpConnection connection, Map<String, Object> headers) Constructors in org.springframework.integration.ip.tcp.connection with parameters of type TcpConnectionModifierConstructorDescriptionTcpConnectionCloseEvent(TcpConnection connection, String connectionFactoryName) TcpConnectionEvent(TcpConnection connection, String connectionFactoryName) TcpConnectionEvent(TcpConnection connection, String connectionFactoryName, Throwable cause) TcpConnectionExceptionEvent(TcpConnection connection, String connectionFactoryName, Throwable cause) TcpConnectionOpenEvent(TcpConnection connection, String connectionFactoryName)