WebsocketModule class

Inheritance

Constructors

WebsocketModule(EngineContext context)

Properties

context → EngineContext
finalinherited
extraFuncMap → Map<String, Function>
no setteroverride
funcMap → Map<String, Function>
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
moduleName → String
no setteroverride
mWebSocketConnections → Map<int, WebSocketClient>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(String name, JSPromise promise) → void
inherited
close(VoltronMap params, Promise promise) → void
connect(VoltronMap params, JSPromise promise) → bool
destroy() → void
override
handleAddListener(String name) → void
inherited
handleRemoveListener(String name) → void
inherited
initialize() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(String name, JSPromise promise) → void
inherited
removeSocketConnection(int socketId) → void
send(VoltronMap params, Promise promise) → void
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

funcClose → const String
funcConnect → const String
funcSend → const String
kWebSocketModuleName → const String