question: public HopImpl ( String hostName , int portNumber , String trans ) { host = hostName ; if ( host . indexOf ( ":" ) >= 0 ) if ( host . indexOf ( "[" ) < 0 ) host = "[" + host + "]" ; port = portNumber ; transport = trans ; }
target:  Create new hop given host, port and transport.