List of usage examples for org.springframework.integration.ip.tcp.connection TcpSender addNewConnection
void addNewConnection(TcpConnection connection);
From source file:org.springframework.integration.ip.tcp.connection.AbstractTcpConnection.java
/** * @param sender the sender to set/*from w w w.j a v a 2 s . c o m*/ */ public void registerSender(TcpSender sender) { this.sender = sender; if (sender != null) { sender.addNewConnection(this); } }