public class DefaultPortExposingTcpSocketSupport extends java.lang.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 |
---|---|
java.lang.String |
getServerSocketAddress()
Gets the binded server socket address.
|
int |
getServerSocketPort()
Gets the binded server socket port.
|
void |
postProcessServerSocket(java.net.ServerSocket serverSocket) |
void |
postProcessSocket(java.net.Socket socket) |
public void postProcessServerSocket(java.net.ServerSocket serverSocket)
postProcessServerSocket
in interface org.springframework.integration.ip.tcp.connection.TcpSocketSupport
public void postProcessSocket(java.net.Socket socket)
postProcessSocket
in interface org.springframework.integration.ip.tcp.connection.TcpSocketSupport
public int getServerSocketPort()
PortExposingTcpSocketSupport
getServerSocketPort
in interface PortExposingTcpSocketSupport
public java.lang.String getServerSocketAddress()
PortExposingTcpSocketSupport
getServerSocketAddress
in interface PortExposingTcpSocketSupport