Public Member Functions | |
| FakeMduService (this.ref) | |
| override Future | close ([int? closeCode, String? closeReason]) |
| override void | call (MduCommand command) |
Public Attributes | |
| final ProviderContainer | ref |
| final | _controller = StreamController<Uint8List>() |
| final | _decoderIds |
| Up to 3 random IDs. | |
| override int get | closeCode => _controller.isClosed ? 1005 : null |
| override String get | closeReason => closeCode != null ? 'Timeout' : null |
| override Future< void > get | ready => Future.delayed(const Duration(seconds: 1)) |
| override Stream< Uint8List > get | stream => _controller.stream |
| Public Attributes inherited from MduService | |
| int get | closeCode |
| String get | closeReason |
| Future< void > get | ready |
| Stream< Uint8List > get | stream |
Additional Inherited Members | |
| Static Public Attributes inherited from MduService | |
| static const int | ack = 0x06 |
| static const int | nak = 0x15 |
|
inline |
|
inline |
|
inline |
| final FakeMduService::_controller = StreamController<Uint8List>() |
| final FakeMduService::_decoderIds |
| override int get FakeMduService::closeCode => _controller.isClosed ? 1005 : null |
| override String get FakeMduService::closeReason => closeCode != null ? 'Timeout' : null |
| override Future<void> get FakeMduService::ready => Future.delayed(const Duration(seconds: 1)) |
| final ProviderContainer FakeMduService::ref |
| override Stream<Uint8List> get FakeMduService::stream => _controller.stream |