public static void port_release(Locator loc, Object p, Action out_binding) { if (out_binding != null) { out_binding(); } out_binding = null; loc.get <pump>().release(p); }
public ComponentBase(Locator locator, String name, Meta parent) { this.dzn_locator = locator; this.dzn_meta = new Meta(name, parent); this.dzn_runtime = locator.get <Runtime>(); }
public static void port_block(Locator loc, Object p) { loc.get <pump>().block(p); }