Frontend  0.7.1
Loading...
Searching...
No Matches
Inheritance diagram for WsZ21Service:
Collaboration diagram for WsZ21Service:

Public Member Functions

 WsZ21Service (String domain)
override void call (Z21Command command)

Public Attributes

late final WebSocketChannel _channel
late final Stream< Z21Command_stream
override int get closeCode => _channel.closeCode
override String get closeReason => closeCode != null ? 'Timeout' : null
override Future< void > get ready => _channel.ready
override Stream< Z21Command > get stream => _stream
Public Attributes inherited from Z21Service
int get closeCode
String get closeReason
Future< void > get ready
Stream< Z21Command > get stream

Additional Inherited Members

Static Public Member Functions inherited from Z21Service
static Z21Command convert (Uint8List dataset)

Constructor & Destructor Documentation

◆ WsZ21Service()

WsZ21Service::WsZ21Service ( String domain)
inline

Member Function Documentation

◆ call()

override void WsZ21Service::call ( Z21Command command)
inline

Member Data Documentation

◆ _channel

late final WebSocketChannel WsZ21Service::_channel

◆ _stream

late final Stream<Z21Command> WsZ21Service::_stream

◆ closeCode

override int get WsZ21Service::closeCode => _channel.closeCode

◆ closeReason

override String get WsZ21Service::closeReason => closeCode != null ? 'Timeout' : null

◆ ready

override Future<void> get WsZ21Service::ready => _channel.ready

◆ stream

override Stream<Z21Command> get WsZ21Service::stream => _stream

The documentation for this class was generated from the following file: