Frontend  0.0.0
Loading...
Searching...
No Matches
WsZusiService Class Reference
Inheritance diagram for WsZusiService:
Collaboration diagram for WsZusiService:

Public Member Functions

 WsZusiService (String domain)
 
override void readCv (int cvAddress) async
 
override void writeCv (int cvAddress, int byte) async
 
override void eraseZpp () async
 
override void writeZpp (int address, Uint8List chunk) async
 
override void features () async
 
override void exit (int flags) async
 
override void encrypt () async
 

Public Attributes

late final WebSocketChannel _channel
 
override Future< void > get ready => _channel.ready
 
override Stream< Uint8List > get stream => _channel.stream.cast<Uint8List>()
 
- Public Attributes inherited from ZusiService
Future< void > get ready
 
Stream< Uint8List > get stream
 

Additional Inherited Members

- Static Public Attributes inherited from ZusiService
static const int ack = 0x06
 
static const int nak = 0x15
 

Constructor & Destructor Documentation

◆ WsZusiService()

WsZusiService::WsZusiService ( String domain)
inline

Member Function Documentation

◆ encrypt()

override void WsZusiService::encrypt ( )
inline

◆ eraseZpp()

override void WsZusiService::eraseZpp ( )
inline

◆ exit()

override void WsZusiService::exit ( int flags)
inline

◆ features()

override void WsZusiService::features ( )
inline

◆ readCv()

override void WsZusiService::readCv ( int cvAddress)
inline

◆ writeCv()

override void WsZusiService::writeCv ( int cvAddress,
int byte )
inline

◆ writeZpp()

override void WsZusiService::writeZpp ( int address,
Uint8List chunk )
inline

Member Data Documentation

◆ _channel

late final WebSocketChannel WsZusiService::_channel

◆ ready

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

◆ stream

override Stream<Uint8List> get WsZusiService::stream => _channel.stream.cast<Uint8List>()

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