Spring Integration

org.springframework.integration.ip.tcp.connection
Interface TcpSender

All Known Subinterfaces:
TcpConnectionInterceptor
All Known Implementing Classes:
AbstractTcpConnectionInterceptor, TcpInboundGateway, TcpOutboundGateway, TcpSendingMessageHandler

public interface TcpSender

An interface representing a sending client of a connection factory.

Since:
2.0
Author:
Gary Russell

Method Summary
 void addNewConnection(TcpConnection connection)
          When we are using sockets owned by a TcpListener, this method is called each time a new connection is made.
 void removeDeadConnection(TcpConnection connection)
          When we are using sockets owned by a TcpListener, this method is called each time a connection is closed.
 

Method Detail

addNewConnection

void addNewConnection(TcpConnection connection)
When we are using sockets owned by a TcpListener, this method is called each time a new connection is made.

Parameters:
connection - The connection.

removeDeadConnection

void removeDeadConnection(TcpConnection connection)
When we are using sockets owned by a TcpListener, this method is called each time a connection is closed.

Parameters:
connection - The connection.

Spring Integration

Copyright © 2010. All Rights Reserved.