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

net.java.html.lib.node.cluster.Worker Maven / Gradle / Ivy

The newest version!
package net.java.html.lib.node.cluster;
public class Worker extends net.java.html.lib.node.events.EventEmitter {
  protected Worker(net.java.html.lib.Objs.Constructor c, java.lang.Object js) {
    super(c, js);
  }
  private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
    $Constructor() {
      super(Worker.class);
    }
    @Override
    public Worker create(java.lang.Object obj) {
      return obj == null ? null : new Worker(this, obj);
    }
  };
  private static final $Constructor $AS = new $Constructor();
  public static Worker $as(java.lang.Object obj) {
    return $AS.create(obj);
  }
  public net.java.html.lib.Objs.Property id = net.java.html.lib.Objs.Property.create(this, java.lang.String.class, "id");
  public java.lang.String id() { return id.get(); }
  public net.java.html.lib.Objs.Property process = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.node.child_process.ChildProcess.class, "process");
  public net.java.html.lib.node.child_process.ChildProcess process() { return process.get(); }
  public net.java.html.lib.Objs.Property suicide = net.java.html.lib.Objs.Property.create(this, java.lang.Boolean.class, "suicide");
  public java.lang.Boolean suicide() { return suicide.get(); }
  public void send(java.lang.Object message, java.lang.Object sendHandle) {
    $Typings$.send$26($js(this), /* AnyKeyword*/$js(message), /* AnyKeyword*/$js(sendHandle));
  }
  public void send(java.lang.Object message) {
    $Typings$.send$27($js(this), /* AnyKeyword*/$js(message));
  }
  public void kill(java.lang.String signal) {
    $Typings$.kill$28($js(this), signal);
  }
  public void kill() {
    $Typings$.kill$29($js(this));
  }
  public void destroy(java.lang.String signal) {
    $Typings$.destroy$30($js(this), signal);
  }
  public void destroy() {
    $Typings$.destroy$31($js(this));
  }
  public void disconnect() {
    $Typings$.disconnect$32($js(this));
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy