@ Override public int getHostPort ( Object endPoint ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "getHostPort" , endPoint ) ; int port = 0 ; if ( endPoint instanceof CFEndPoint ) { port = ( ( CFEndPoint ) endPoint ) . getPort ( ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "getHostPort" , Integer . valueOf ( port ) ) ; return port ; }
Retrieves the host port from the specified CFEndPoint .