SocketNotifier class
This class manages the transmission of messages over websockets using GetConnect
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- open ↔ OpenSocket
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addCloses(
CloseSocket socket) → void - subscribe to close events
-
addErrors(
CloseSocket socket) → void - subscribe to error events
-
addEvents(
String event, MessageSocket socket) → void - subscribe to named events
-
addMessages(
MessageSocket socket) → void - subscribe to message events
-
dispose(
) → void - Dispose messages, events, closes and errors subscriptions
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyClose(
Close err) → void - Notify all subscriptions on addCloses
-
notifyData(
dynamic data) → void - Notify all subscriptions on addMessages
-
notifyError(
Close err) → void - Notify all subscriptions on addErrors
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited