NetServer class abstract

Implemented types
Implementers
Annotations
  • @JS()
  • @anonymous

Constructors

NetServer()

Properties

hashCode int
The hash code for this object.
no setterinherited
listening bool
no setter
maxConnections int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(dynamic eventName, Function listener) → void
inherited
address() NetAddress
close([void callback()]) NetServer
emit(dynamic eventName, [dynamic arg1, dynamic arg2, dynamic arg3, dynamic arg4, dynamic arg5, dynamic arg6]) → void
inherited
eventNames() List
inherited
getConnections([void callback(dynamic error, int count)]) → void
getMaxListeners() int
inherited
listen([dynamic arg1, dynamic arg2, dynamic arg3, dynamic arg4]) → void
See official documentation on possible signatures:
listenerCount(dynamic eventName) int
inherited
listeners(dynamic eventName) List<Function>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on(dynamic eventName, Function listener) EventEmitter
inherited
once(dynamic eventName, Function listener) EventEmitter
inherited
prependListener(dynamic eventName, Function listener) EventEmitter
inherited
prependOnceListener(dynamic eventName, Function listener) EventEmitter
inherited
rawListeners(dynamic eventName) List<Function>
inherited
ref() NetServer
removeAllListeners(dynamic eventName) EventEmitter
inherited
removeListener(dynamic eventName, Function listener) EventEmitter
inherited
setMaxListeners(int value) → void
inherited
toString() String
A string representation of this object.
inherited
unref() NetServer

Operators

operator ==(Object other) bool
The equality operator.
inherited