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