public static nsrpcnode [ ] get ( nitro_service service , String ipaddress [ ] ) throws Exception { if ( ipaddress != null && ipaddress . length > 0 ) { nsrpcnode response [ ] = new nsrpcnode [ ipaddress . length ] ; nsrpcnode obj [ ] = new nsrpcnode [ ipaddress . length ] ; for ( int i = 0 ; i < ipaddress . length ; i ++ ) { obj [ i ] = new nsrpcnode ( ) ; obj [ i ] . set_ipaddress ( ipaddress [ i ] ) ; response [ i ] = ( nsrpcnode ) obj [ i ] . get_resource ( service ) ; } return response ; } return null ; }
Use this API to fetch nsrpcnode resources of given names .