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 TypeMethodDescriptionvoid
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 invokingServerSocket.accept()
.void
postProcessSocket
(Socket socket) Performs any further modifications to theSocket
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
Performs any further modifications to the server socket after the connection factory has created the socket and set any configured attributes, before invokingServerSocket.accept()
.- Parameters:
serverSocket
- The ServerSocket
-
postProcessSocket
Performs any further modifications to theSocket
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
-