class Server extends Object with StObject with SendHandle

Annotations
@JSType() @JSImport("net", "Server") @native()
Source
Server.scala
Linear Supertypes
SendHandle, StObject, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Server
  2. SendHandle
  3. StObject
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Server(options: Unit, connectionListener: Function1[Socket, Unit])
  2. new Server(options: ServerOpts, connectionListener: Function1[Socket, Unit])
  3. new Server(options: ServerOpts)
  4. new Server(connectionListener: Function1[Socket, Unit])
  5. new Server()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addListener(event: scala.Predef.String, listener: Function1[Any, Unit]): Server.this.type

    events.EventEmitter

    events.EventEmitter

    1. close 2. connection 3. error 4. listening
  5. def addListener_close(event: close, listener: Function0[Unit]): Server.this.type
    Annotations
    @JSName("addListener")
  6. def addListener_connection(event: connection, listener: Function1[Socket, Unit]): Server.this.type
    Annotations
    @JSName("addListener")
  7. def addListener_error(event: error, listener: Function1[Error, Unit]): Server.this.type
    Annotations
    @JSName("addListener")
  8. def addListener_listening(event: listening, listener: Function0[Unit]): Server.this.type
    Annotations
    @JSName("addListener")
  9. def address(): |[|[AddressInfo, scala.Predef.String], Null]
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  12. def close(callback: Function1[UndefOr[Error], Unit]): Server.this.type
  13. def close(): Server.this.type
  14. var connections: Double
  15. def emit(event: Symbol, args: Any*): Boolean
  16. def emit(event: scala.Predef.String, args: Any*): Boolean
  17. def emit_close(event: close): Boolean
    Annotations
    @JSName("emit")
  18. def emit_connection(event: connection, socket: Socket): Boolean
    Annotations
    @JSName("emit")
  19. def emit_error(event: error, err: Error): Boolean
    Annotations
    @JSName("emit")
  20. def emit_listening(event: listening): Boolean
    Annotations
    @JSName("emit")
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  24. def getConnections(cb: Function2[|[Error, Null], Double, Unit]): Unit
  25. def hasOwnProperty(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  29. def listen(port: Unit, listeningListener: Function0[Unit]): Server.this.type
  30. def listen(port: Unit, hostname: Unit, listeningListener: Function0[Unit]): Server.this.type
  31. def listen(port: Unit, hostname: Unit, backlog: Unit, listeningListener: Function0[Unit]): Server.this.type
  32. def listen(port: Unit, hostname: Unit, backlog: Double, listeningListener: Function0[Unit]): Server.this.type
  33. def listen(port: Unit, hostname: Unit, backlog: Double): Server.this.type
  34. def listen(port: Unit, hostname: scala.Predef.String, listeningListener: Function0[Unit]): Server.this.type
  35. def listen(port: Unit, hostname: scala.Predef.String, backlog: Unit, listeningListener: Function0[Unit]): Server.this.type
  36. def listen(port: Unit, hostname: scala.Predef.String, backlog: Double, listeningListener: Function0[Unit]): Server.this.type
  37. def listen(port: Unit, hostname: scala.Predef.String, backlog: Double): Server.this.type
  38. def listen(port: Unit, hostname: scala.Predef.String): Server.this.type
  39. def listen(port: Unit, backlog: Double, listeningListener: Function0[Unit]): Server.this.type
  40. def listen(port: Unit, backlog: Double): Server.this.type
  41. def listen(port: Double, listeningListener: Function0[Unit]): Server.this.type
  42. def listen(port: Double, hostname: Unit, listeningListener: Function0[Unit]): Server.this.type
  43. def listen(port: Double, hostname: Unit, backlog: Unit, listeningListener: Function0[Unit]): Server.this.type
  44. def listen(port: Double, hostname: Unit, backlog: Double, listeningListener: Function0[Unit]): Server.this.type
  45. def listen(port: Double, hostname: Unit, backlog: Double): Server.this.type
  46. def listen(port: Double, hostname: scala.Predef.String, listeningListener: Function0[Unit]): Server.this.type
  47. def listen(port: Double, hostname: scala.Predef.String, backlog: Unit, listeningListener: Function0[Unit]): Server.this.type
  48. def listen(port: Double, hostname: scala.Predef.String, backlog: Double, listeningListener: Function0[Unit]): Server.this.type
  49. def listen(port: Double, hostname: scala.Predef.String, backlog: Double): Server.this.type
  50. def listen(port: Double, hostname: scala.Predef.String): Server.this.type
  51. def listen(port: Double, backlog: Double, listeningListener: Function0[Unit]): Server.this.type
  52. def listen(port: Double, backlog: Double): Server.this.type
  53. def listen(port: Double): Server.this.type
  54. def listen(path: scala.Predef.String, listeningListener: Function0[Unit]): Server.this.type
  55. def listen(path: scala.Predef.String, backlog: Unit, listeningListener: Function0[Unit]): Server.this.type
  56. def listen(path: scala.Predef.String, backlog: Double, listeningListener: Function0[Unit]): Server.this.type
  57. def listen(path: scala.Predef.String, backlog: Double): Server.this.type
  58. def listen(path: scala.Predef.String): Server.this.type
  59. def listen(options: ListenOptions, listeningListener: Function0[Unit]): Server.this.type
  60. def listen(options: ListenOptions): Server.this.type
  61. def listen(handle: Any, listeningListener: Function0[Unit]): Server.this.type
  62. def listen(handle: Any, backlog: Unit, listeningListener: Function0[Unit]): Server.this.type
  63. def listen(handle: Any, backlog: Double, listeningListener: Function0[Unit]): Server.this.type
  64. def listen(handle: Any, backlog: Double): Server.this.type
  65. def listen(handle: Any): Server.this.type
  66. def listen(): Server.this.type
  67. var listening: Boolean
  68. var maxConnections: Double
  69. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  70. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  71. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  72. def on(event: scala.Predef.String, listener: Function1[Any, Unit]): Server.this.type
  73. def on_close(event: close, listener: Function0[Unit]): Server.this.type
    Annotations
    @JSName("on")
  74. def on_connection(event: connection, listener: Function1[Socket, Unit]): Server.this.type
    Annotations
    @JSName("on")
  75. def on_error(event: error, listener: Function1[Error, Unit]): Server.this.type
    Annotations
    @JSName("on")
  76. def on_listening(event: listening, listener: Function0[Unit]): Server.this.type
    Annotations
    @JSName("on")
  77. def once(event: scala.Predef.String, listener: Function1[Any, Unit]): Server.this.type
  78. def once_close(event: close, listener: Function0[Unit]): Server.this.type
    Annotations
    @JSName("once")
  79. def once_connection(event: connection, listener: Function1[Socket, Unit]): Server.this.type
    Annotations
    @JSName("once")
  80. def once_error(event: error, listener: Function1[Error, Unit]): Server.this.type
    Annotations
    @JSName("once")
  81. def once_listening(event: listening, listener: Function0[Unit]): Server.this.type
    Annotations
    @JSName("once")
  82. def prependListener(event: scala.Predef.String, listener: Function1[Any, Unit]): Server.this.type
  83. def prependListener_close(event: close, listener: Function0[Unit]): Server.this.type
    Annotations
    @JSName("prependListener")
  84. def prependListener_connection(event: connection, listener: Function1[Socket, Unit]): Server.this.type
    Annotations
    @JSName("prependListener")
  85. def prependListener_error(event: error, listener: Function1[Error, Unit]): Server.this.type
    Annotations
    @JSName("prependListener")
  86. def prependListener_listening(event: listening, listener: Function0[Unit]): Server.this.type
    Annotations
    @JSName("prependListener")
  87. def prependOnceListener(event: scala.Predef.String, listener: Function1[Any, Unit]): Server.this.type
  88. def prependOnceListener_close(event: close, listener: Function0[Unit]): Server.this.type
    Annotations
    @JSName("prependOnceListener")
  89. def prependOnceListener_connection(event: connection, listener: Function1[Socket, Unit]): Server.this.type
    Annotations
    @JSName("prependOnceListener")
  90. def prependOnceListener_error(event: error, listener: Function1[Error, Unit]): Server.this.type
    Annotations
    @JSName("prependOnceListener")
  91. def prependOnceListener_listening(event: listening, listener: Function0[Unit]): Server.this.type
    Annotations
    @JSName("prependOnceListener")
  92. def propertyIsEnumerable(v: scala.Predef.String): Boolean
    Definition Classes
    Object
  93. def ref(): Server.this.type
  94. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  95. def toLocaleString(): scala.Predef.String
    Definition Classes
    Object
  96. def toString(): java.lang.String
    Definition Classes
    AnyRef → Any
  97. def unref(): Server.this.type
  98. def valueOf(): Any
    Definition Classes
    Object
  99. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  100. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  101. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from SendHandle

Inherited from StObject

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped