GameSocketServer class

Constructors

GameSocketServer({EngineServer? engine, ServerOptions? options})

Properties

address InternetAddress?
The address used by this socket.
no setter
hashCode int
The hash code for this object.
no setterinherited
maxIdleTime int
getter/setter pair
port int?
The port used by this socket.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createAdapter(Namespace namespace) → Adapter
emit(dynamic event, dynamic data) → void
getOptions() ServerOptions
getSchema(int code, int version) Schema?
hasNamespace(String namespace) bool
listen([dynamic address, int? port]) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
of(String namespace) GameNamespace
Create namespace.
off(dynamic event, dynamic handler) → void
offAll() → void
on(dynamic event, dynamic handler) → void
once(dynamic event, dynamic handler) → void
to(String room) Namespace
toString() String
A string representation of this object.
inherited

Operators

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