All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.basex.query.func.ws.WsBroadcast Maven / Gradle / Ivy

There is a newer version: 11.6
Show newest version
package org.basex.query.func.ws;

import org.basex.http.ws.*;
import org.basex.query.*;
import org.basex.query.value.item.*;
import org.basex.query.value.seq.*;
import org.basex.util.*;

/**
 * Function implementation.
 *
 * @author BaseX Team, BSD License
 * @author Christian Gruen
 */
public final class WsBroadcast extends WsFn {
  @Override
  public Item item(final QueryContext qc, final InputInfo ii) throws QueryException {
    WsPool.broadcast(arg(0).item(qc, info), ws(qc).id);
    return Empty.VALUE;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy