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

net.java.html.lib.node.dgram.Exports Maven / Gradle / Ivy

The newest version!
package net.java.html.lib.node.dgram;
@java.lang.SuppressWarnings("unchecked")
public final class Exports extends net.java.html.lib.Objs {
  private Exports() {
  }
  private static net.java.html.lib.Objs selfModule() {
    return net.java.html.lib.Modules.find("dgram");
  }
  public static net.java.html.lib.node.net.Socket createSocket(java.lang.String type, net.java.html.lib.Function.A2 callback) {
    return (net.java.html.lib.node.net.Socket)net.java.html.lib.node.net.Socket.$as($Typings$.createSocket$1($js(selfModule()), type, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {net.java.html.lib.node.Buffer.class, net.java.html.lib.node.dgram.RemoteInfo.class}))));
  }
  public static net.java.html.lib.node.net.Socket createSocket(java.lang.String type) {
    return (net.java.html.lib.node.net.Socket)net.java.html.lib.node.net.Socket.$as($Typings$.createSocket$2($js(selfModule()), type));
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy