code: synchronized PollObj get_polled_obj_by_type_name(final int obj_type, final String obj_name)
  	    throws DevFailed {
  	// Get vector and search for type and name.
  	final Vector po_list = get_poll_obj_list();
  	for (int i = 0; i < po_list.size(); i++) {
  	    final PollObj polled_obj = (PollObj) po_list.elementAt(i);
  	    if (polled_obj.get_type_i() == obj_type) {
  		if (polled_obj.get_name_i().equals(obj_name)) {
  		    return polled_obj;
  		}
  	    }
  	}
  
  	// If not found throws exception
  	Except.throw_exception("API_PollObjNotFound", obj_name
  		+ " not found in list of polled object", "DeviceImpl.get_polled_obj_by_type_name");
  	return null;
      }
docs: ==========================================================