WebSocketListener class
Web Socket Listener
Constructors
- WebSocketListener(WebSocket? client)
- Construct with Client
Properties
- client ↔ WebSocket?
-
Socket Client
getter/setter pair
- cnonce ↔ Nonce?
-
Client side nonce for this session
getter/setter pair
- deviceID ↔ String?
-
Connected device id
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- isLogged ↔ bool
-
getter/setter pair
- lastOnline ↔ int?
-
Last online time millis epoch
getter/setter pair
- nonce ↔ Nonce?
-
Server side nonce for this session
getter/setter pair
- operation ↔ Operation
-
Operation Class
All operations (exclude connectionRequest) process in this class.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service ↔ WebSocketService
-
Global web socket service
getter/setter pair
- socketBroadcast → Stream
-
Web Socket data broadcast
no setter
- streamController ↔ StreamController
-
Stream Controller
getter/setter pair
- subscription ↔ StreamSubscription
-
getter/setter pair
- timer ↔ Timer?
-
Check Timer
getter/setter pair
- unSuccessPermissionRequestCount ↔ int
-
Unsuccess Permission Request
getter/setter pair
- userId ↔ String?
-
getter/setter pair
Methods
-
checkConnection(
) → void - Check connection online
-
close(
) → Future< void> - Close this connection
-
connectionRequest(
) → Future< bool?> - Check this client
-
listen(
) → Future< void> - Listen this connection
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
Soketlerin dinleyicisi
her soket için ayrı ayrı oluşturuluyor
override