| // WARNING: This file is machine generated by fidlgen. |
| |
| #pragma once |
| |
| #include <fidl/test.protocolpayloads/cpp/wire.h> |
| namespace fidl { |
| namespace testing { |
| |
| template <> |
| class WireTestBase<::test_protocolpayloads::MainProtocol> |
| : public ::fidl::WireServer<::test_protocolpayloads::MainProtocol> { |
| public: |
| virtual ~WireTestBase<::test_protocolpayloads::MainProtocol>() = default; |
| virtual void NotImplemented_(const std::string& name, |
| ::fidl::CompleterBase& completer) = 0; |
| virtual void OneWayComposed( |
| OneWayComposedRequestView request, |
| OneWayComposedCompleter::Sync& completer) override { |
| NotImplemented_("OneWayComposed", completer); |
| } |
| virtual void TwoWayComposed( |
| TwoWayComposedRequestView request, |
| TwoWayComposedCompleter::Sync& completer) override { |
| NotImplemented_("TwoWayComposed", completer); |
| } |
| virtual void TwoWayComposedWithError( |
| TwoWayComposedWithErrorRequestView request, |
| TwoWayComposedWithErrorCompleter::Sync& completer) override { |
| NotImplemented_("TwoWayComposedWithError", completer); |
| } |
| virtual void OneWayLocal(OneWayLocalRequestView request, |
| OneWayLocalCompleter::Sync& completer) override { |
| NotImplemented_("OneWayLocal", completer); |
| } |
| virtual void TwoWayLocal(TwoWayLocalRequestView request, |
| TwoWayLocalCompleter::Sync& completer) override { |
| NotImplemented_("TwoWayLocal", completer); |
| } |
| virtual void TwoWayLocalWithError( |
| TwoWayLocalWithErrorRequestView request, |
| TwoWayLocalWithErrorCompleter::Sync& completer) override { |
| NotImplemented_("TwoWayLocalWithError", completer); |
| } |
| virtual void OneWayImport(OneWayImportRequestView request, |
| OneWayImportCompleter::Sync& completer) override { |
| NotImplemented_("OneWayImport", completer); |
| } |
| virtual void TwoWayImport(TwoWayImportRequestView request, |
| TwoWayImportCompleter::Sync& completer) override { |
| NotImplemented_("TwoWayImport", completer); |
| } |
| virtual void TwoWayImportWithError( |
| TwoWayImportWithErrorRequestView request, |
| TwoWayImportWithErrorCompleter::Sync& completer) override { |
| NotImplemented_("TwoWayImportWithError", completer); |
| } |
| virtual void OneWayAnon(OneWayAnonRequestView request, |
| OneWayAnonCompleter::Sync& completer) override { |
| NotImplemented_("OneWayAnon", completer); |
| } |
| virtual void TwoWayAnon(TwoWayAnonRequestView request, |
| TwoWayAnonCompleter::Sync& completer) override { |
| NotImplemented_("TwoWayAnon", completer); |
| } |
| virtual void TwoWayAnonWithError( |
| TwoWayAnonWithErrorRequestView request, |
| TwoWayAnonWithErrorCompleter::Sync& completer) override { |
| NotImplemented_("TwoWayAnonWithError", completer); |
| } |
| }; |
| |
| template <> |
| class ::fidl::testing::WireSyncEventHandlerTestBase< |
| ::test_protocolpayloads::MainProtocol> |
| : public ::fidl::WireSyncEventHandler< |
| ::test_protocolpayloads::MainProtocol> { |
| public: |
| virtual ~WireSyncEventHandlerTestBase< |
| ::test_protocolpayloads::MainProtocol>() = default; |
| virtual void NotImplemented_(const std::string& name) = 0; |
| virtual void OnComposed( |
| ::fidl::WireEvent<::test_protocolpayloads::MainProtocol::OnComposed>* |
| event) override { |
| NotImplemented_("OnComposed"); |
| } |
| virtual void OnComposedWithError( |
| ::fidl::WireEvent< |
| ::test_protocolpayloads::MainProtocol::OnComposedWithError>* event) |
| override { |
| NotImplemented_("OnComposedWithError"); |
| } |
| virtual void OnLocal( |
| ::fidl::WireEvent<::test_protocolpayloads::MainProtocol::OnLocal>* event) |
| override { |
| NotImplemented_("OnLocal"); |
| } |
| virtual void OnLocalWithError( |
| ::fidl::WireEvent< |
| ::test_protocolpayloads::MainProtocol::OnLocalWithError>* event) |
| override { |
| NotImplemented_("OnLocalWithError"); |
| } |
| virtual void OnImport( |
| ::fidl::WireEvent<::test_protocolpayloads::MainProtocol::OnImport>* event) |
| override { |
| NotImplemented_("OnImport"); |
| } |
| virtual void OnImportWithError( |
| ::fidl::WireEvent< |
| ::test_protocolpayloads::MainProtocol::OnImportWithError>* event) |
| override { |
| NotImplemented_("OnImportWithError"); |
| } |
| virtual void OnAnon( |
| ::fidl::WireEvent<::test_protocolpayloads::MainProtocol::OnAnon>* event) |
| override { |
| NotImplemented_("OnAnon"); |
| } |
| virtual void OnAnonWithError( |
| ::fidl::WireEvent<::test_protocolpayloads::MainProtocol::OnAnonWithError>* |
| event) override { |
| NotImplemented_("OnAnonWithError"); |
| } |
| }; |
| } // namespace testing |
| } // namespace fidl |