Spring Integration

org.springframework.integration.ip.tcp.connection.support
Interface TcpSocketSupport

All Known Implementing Classes:
DefaultTcpSocketSupport

public interface TcpSocketSupport

Strategy interface for modifying sockets.

Since:
2.2
Author:
Gary Russell

Method Summary
 void postProcessServerSocket(java.net.ServerSocket serverSocket)
          Performs any further modifications to the server socket after the connection factory has created the socket and set any configured attributes, before invoking ServerSocket.accept().
 void postProcessSocket(java.net.Socket socket)
          Performs any further modifications to the Socket after the socket has been created by a client, or accepted by a server, and after any configured atributes have been set.
 

Method Detail

postProcessServerSocket

void postProcessServerSocket(java.net.ServerSocket serverSocket)
Performs any further modifications to the server socket after the connection factory has created the socket and set any configured attributes, before invoking ServerSocket.accept().

Parameters:
serverSocket - The ServerSocket

postProcessSocket

void postProcessSocket(java.net.Socket socket)
Performs any further modifications to the Socket after the socket has been created by a client, or accepted by a server, and after any configured atributes have been set.

Parameters:
socket - The Socket

Spring Integration