Interface TcpSender
- All Known Subinterfaces:
- TcpConnectionInterceptor
- All Known Implementing Classes:
- TcpConnectionInterceptorSupport,- TcpInboundGateway,- TcpOutboundGateway,- TcpSendingMessageHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An interface representing a sending client of a connection
 factory.
- Since:
- 2.0
- Author:
- Gary Russell
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddNewConnection(TcpConnection connection) When we are using sockets owned by aTcpListener, this method is called each time a new connection is made.default voidremoveDeadConnection(TcpConnection connection) When we are using sockets owned by aTcpListener, this method is called each time a connection is closed.
- 
Method Details- 
addNewConnectionWhen we are using sockets owned by aTcpListener, this method is called each time a new connection is made.- Parameters:
- connection- The connection.
 
- 
removeDeadConnectionWhen we are using sockets owned by aTcpListener, this method is called each time a connection is closed.- Parameters:
- connection- The connection.
 
 
-