gets the valid gateway concode_field_sep Map<InetAddress,GatewayDevice> devices concode_elem_sep String IP concode_elem_sep int TIMEOUT concode_elem_sep int PORT concode_field_sep Map<InetAddress,GatewayDevice> discover concode_elem_sep GatewayDevice parseMSearchReplay concode_elem_sep InetAddress getOutboundAddress
GatewayDevice function ( ) { for ( GatewayDevice loc0 : devices . values ( ) ) { try { if ( loc0 . isConnected ( ) ) { return loc0 ; } } catch ( Exception loc7 ) { } } return null ; }