Spring for Apache Hadoop

org.springframework.yarn.integration.support
Interface PortExposingTcpSocketSupport

All Superinterfaces:
org.springframework.integration.ip.tcp.connection.support.TcpSocketSupport
All Known Implementing Classes:
DefaultPortExposingTcpSocketSupport

public interface PortExposingTcpSocketSupport
extends org.springframework.integration.ip.tcp.connection.support.TcpSocketSupport

Extension of TcpSocketSupport interface adding methods to get more information about the socket ports.

Author:
Janne Valkealahti

Method Summary
 java.lang.String getServerSocketAddress()
          Gets the binded server socket address.
 int getServerSocketPort()
          Gets the binded server socket port.
 
Methods inherited from interface org.springframework.integration.ip.tcp.connection.support.TcpSocketSupport
postProcessServerSocket, postProcessSocket
 

Method Detail

getServerSocketPort

int getServerSocketPort()
Gets the binded server socket port.

Returns:
the server socket port

getServerSocketAddress

java.lang.String getServerSocketAddress()
Gets the binded server socket address.

Returns:
the server socket address

Spring for Apache Hadoop