| // WARNING: This file is machine generated by fidlgen_dart. |
| // @dart = 2.12 |
| |
| library fidl_test_protocollayouts_test; |
| |
| import 'dart:async' as $async; |
| import 'dart:core' hide Error, Future, Match, Set, Stream, Type; |
| import 'dart:typed_data'; |
| |
| import 'package:fidl/fidl.dart' as $fidl; |
| import 'package:meta/meta.dart'; |
| import 'package:zircon/zircon.dart' as $zircon; |
| |
| import 'package:fidl_test_protocollayouts_imported/fidl_async.dart' |
| as lib$test_protocollayouts_imported; |
| import './fidl_async.dart'; |
| |
| // ignore_for_file: always_specify_types |
| // ignore_for_file: constant_identifier_names |
| // ignore_for_file: directives_ordering |
| // ignore_for_file: one_member_abstracts |
| // ignore_for_file: public_member_api_docs |
| // ignore_for_file: unused_import |
| // ignore_for_file: library_prefixes |
| // ignore_for_file: unused_shown_name |
| |
| class MainProtocol$TestBase extends MainProtocol { |
| @override |
| $async.Future<void> oneWayAnonComposed( |
| lib$test_protocollayouts_imported |
| .ComposedProtocolOneWayAnonComposedRequest |
| payload) { |
| return $async.Future.error( |
| UnimplementedError( |
| r'oneWayAnonComposed not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current); |
| } |
| |
| @override |
| $async.Future< |
| lib$test_protocollayouts_imported |
| .ComposedProtocolTwoWayAnonComposedResponse> twoWayAnonComposed( |
| lib$test_protocollayouts_imported |
| .ComposedProtocolTwoWayAnonComposedRequest |
| payload) { |
| return $async.Future.error( |
| UnimplementedError( |
| r'twoWayAnonComposed not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current); |
| } |
| |
| @override |
| $async.Future< |
| lib$test_protocollayouts_imported |
| .ComposedProtocolTwoWayAnonComposedWithErrorResponse> |
| twoWayAnonComposedWithError( |
| lib$test_protocollayouts_imported |
| .ComposedProtocolTwoWayAnonComposedWithErrorRequest |
| payload) { |
| return $async.Future.error( |
| UnimplementedError( |
| r'twoWayAnonComposedWithError not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current); |
| } |
| |
| @override |
| $async.Stream< |
| lib$test_protocollayouts_imported |
| .ComposedProtocolOnAnonComposedRequest> get onAnonComposed { |
| return $async.Stream.fromFuture($async.Future.error( |
| UnimplementedError( |
| r'onAnonComposed not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current)); |
| } |
| |
| @override |
| $async.Stream< |
| lib$test_protocollayouts_imported |
| .ComposedProtocolOnAnonComposedWithErrorResponse> |
| get onAnonComposedWithError { |
| return $async.Stream.fromFuture($async.Future.error( |
| UnimplementedError( |
| r'onAnonComposedWithError not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current)); |
| } |
| |
| @override |
| $async.Future<void> oneWayNamedComposed( |
| lib$test_protocollayouts_imported.ImportTablePayload payload) { |
| return $async.Future.error( |
| UnimplementedError( |
| r'oneWayNamedComposed not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current); |
| } |
| |
| @override |
| $async.Future<lib$test_protocollayouts_imported.ImportTablePayload> |
| twoWayNamedComposed( |
| lib$test_protocollayouts_imported.ImportUnionPayload payload) { |
| return $async.Future.error( |
| UnimplementedError( |
| r'twoWayNamedComposed not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current); |
| } |
| |
| @override |
| $async.Future<lib$test_protocollayouts_imported.ImportUnionPayload> |
| twoWayNamedComposedWithError( |
| lib$test_protocollayouts_imported.ImportTablePayload payload) { |
| return $async.Future.error( |
| UnimplementedError( |
| r'twoWayNamedComposedWithError not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current); |
| } |
| |
| @override |
| $async.Stream<lib$test_protocollayouts_imported.ImportUnionPayload> |
| get onNamedComposed { |
| return $async.Stream.fromFuture($async.Future.error( |
| UnimplementedError( |
| r'onNamedComposed not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current)); |
| } |
| |
| @override |
| $async.Stream<lib$test_protocollayouts_imported.ImportTablePayload> |
| get onNamedComposedWithError { |
| return $async.Stream.fromFuture($async.Future.error( |
| UnimplementedError( |
| r'onNamedComposedWithError not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current)); |
| } |
| |
| @override |
| $async.Future<void> oneWayImport( |
| lib$test_protocollayouts_imported.ImportTablePayload payload) { |
| return $async.Future.error( |
| UnimplementedError( |
| r'oneWayImport not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current); |
| } |
| |
| @override |
| $async.Future<lib$test_protocollayouts_imported.ImportTablePayload> |
| twoWayImport( |
| lib$test_protocollayouts_imported.ImportUnionPayload payload) { |
| return $async.Future.error( |
| UnimplementedError( |
| r'twoWayImport not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current); |
| } |
| |
| @override |
| $async.Future<lib$test_protocollayouts_imported.ImportUnionPayload> |
| twoWayImportWithError( |
| lib$test_protocollayouts_imported.ImportTablePayload payload) { |
| return $async.Future.error( |
| UnimplementedError( |
| r'twoWayImportWithError not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current); |
| } |
| |
| @override |
| $async.Stream<lib$test_protocollayouts_imported.ImportUnionPayload> |
| get onImport { |
| return $async.Stream.fromFuture($async.Future.error( |
| UnimplementedError( |
| r'onImport not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current)); |
| } |
| |
| @override |
| $async.Stream<lib$test_protocollayouts_imported.ImportTablePayload> |
| get onImportWithError { |
| return $async.Stream.fromFuture($async.Future.error( |
| UnimplementedError( |
| r'onImportWithError not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current)); |
| } |
| |
| @override |
| $async.Future<void> oneWayLocal(LocalTablePayload payload) { |
| return $async.Future.error( |
| UnimplementedError( |
| r'oneWayLocal not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current); |
| } |
| |
| @override |
| $async.Future<LocalTablePayload> twoWayLocal(LocalUnionPayload payload) { |
| return $async.Future.error( |
| UnimplementedError( |
| r'twoWayLocal not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current); |
| } |
| |
| @override |
| $async.Future<LocalUnionPayload> twoWayLocalWithError( |
| LocalTablePayload payload) { |
| return $async.Future.error( |
| UnimplementedError( |
| r'twoWayLocalWithError not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current); |
| } |
| |
| @override |
| $async.Stream<LocalUnionPayload> get onLocal { |
| return $async.Stream.fromFuture($async.Future.error( |
| UnimplementedError( |
| r'onLocal not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current)); |
| } |
| |
| @override |
| $async.Stream<LocalTablePayload> get onLocalWithError { |
| return $async.Stream.fromFuture($async.Future.error( |
| UnimplementedError( |
| r'onLocalWithError not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current)); |
| } |
| |
| @override |
| $async.Future<void> oneWayAnon(MainProtocolOneWayAnonRequest payload) { |
| return $async.Future.error( |
| UnimplementedError( |
| r'oneWayAnon not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current); |
| } |
| |
| @override |
| $async.Future<MainProtocolTwoWayAnonResponse> twoWayAnon( |
| MainProtocolTwoWayAnonRequest payload) { |
| return $async.Future.error( |
| UnimplementedError( |
| r'twoWayAnon not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current); |
| } |
| |
| @override |
| $async.Future<MainProtocolTwoWayAnonWithErrorResponse> twoWayAnonWithError( |
| MainProtocolTwoWayAnonWithErrorRequest payload) { |
| return $async.Future.error( |
| UnimplementedError( |
| r'twoWayAnonWithError not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current); |
| } |
| |
| @override |
| $async.Stream<MainProtocolOnAnonRequest> get onAnon { |
| return $async.Stream.fromFuture($async.Future.error( |
| UnimplementedError( |
| r'onAnon not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current)); |
| } |
| |
| @override |
| $async.Stream<MainProtocolOnAnonWithErrorResponse> get onAnonWithError { |
| return $async.Stream.fromFuture($async.Future.error( |
| UnimplementedError( |
| r'onAnonWithError not implemented on MainProtocol test base. Please implement.'), |
| StackTrace.current)); |
| } |
| } |