private int command_inout_asynch_i(final String c, final DeviceData[] dd, final boolean fgt, final boolean fwd,
	    final int rid) throws DevFailed {
	synchronized (this) {
	    final int gsize = get_size_i(fwd);
	    if (gsize != dd.length) {
		final String desc = "the size of the input argument list must equal the number of device in the group"
			+ " [expected:" + gsize + " - got:" + dd.length + "]";
		Except.throw_exception("API_MethodArgument", desc, "Group.command_inout_asynch");
	    }
	    int i = 0;
	    Iterator it;
	    if (fwd) {
		final Vector h = get_hierarchy();
		it = h.iterator();
		while (it.hasNext()) {
		    ((GroupDeviceElement) it.next()).command_inout_asynch_i(c, dd[i++], fgt, fwd, rid);
		}
	    } else {
		it = elements.iterator();
		while (it.hasNext()) {
		    final GroupElement e = (GroupElement) it.next();
		    if (e instanceof GroupDeviceElement) {
			e.command_inout_asynch_i(c, dd[i++], fgt, fwd, rid);
		    }
		}
	    }
	    return rid;
	}
    }
private int command_inout_asynch_i ( final String c , final DeviceData [ ] dd , final boolean fgt , final boolean fwd , final int rid ) throws DevFailed { synchronized ( this ) { final int gsize = get_size_i ( fwd ) ; if ( gsize != dd . length ) { final String desc = "the size of the input argument list must equal the number of device in the group" + " [expected:" + gsize + " - got:" + dd . length + "]" ; Except . throw_exception ( "API_MethodArgument" , desc , "Group.command_inout_asynch" ) ; } int i = 0 ; Iterator it ; if ( fwd ) { final Vector h = get_hierarchy ( ) ; it = h . iterator ( ) ; while ( it . hasNext ( ) ) { ( ( GroupDeviceElement ) it . next ( ) ) . command_inout_asynch_i ( c , dd [ i ++ ] , fgt , fwd , rid ) ; } } else { it = elements . iterator ( ) ; while ( it . hasNext ( ) ) { final GroupElement e = ( GroupElement ) it . next ( ) ; if ( e instanceof GroupDeviceElement ) { e . command_inout_asynch_i ( c , dd [ i ++ ] , fgt , fwd , rid ) ; } } } return rid ; } }
command_inout_asynch_i - access limited to package Group