public class DefaultPortExposingTcpSocketSupport extends Object implements PortExposingTcpSocketSupport
TcpSocketSupport
which extends its base functionality by catching socket information, like listen address and port.| Constructor and Description |
|---|
DefaultPortExposingTcpSocketSupport() |
| Modifier and Type | Method and Description |
|---|---|
String |
getServerSocketAddress()
Gets the binded server socket address.
|
int |
getServerSocketPort()
Gets the binded server socket port.
|
void |
postProcessServerSocket(ServerSocket serverSocket) |
void |
postProcessSocket(Socket socket) |
public void postProcessServerSocket(ServerSocket serverSocket)
postProcessServerSocket in interface TcpSocketSupportpublic void postProcessSocket(Socket socket)
postProcessSocket in interface TcpSocketSupportpublic int getServerSocketPort()
PortExposingTcpSocketSupportgetServerSocketPort in interface PortExposingTcpSocketSupportpublic String getServerSocketAddress()
PortExposingTcpSocketSupportgetServerSocketAddress in interface PortExposingTcpSocketSupport