Interface TcpSocketSupport

All Known Implementing Classes:
DefaultTcpSocketSupport

public interface TcpSocketSupport
Strategy interface for modifying sockets.
Since:
2.2
Author:
Gary Russell
  • Method Summary

    Modifier and Type Method Description
    void postProcessServerSocket​(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​(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 Details

    • postProcessServerSocket

      void postProcessServerSocket​(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​(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