blob: 29c14085e5335f6cfa18db327f434ec657964b8d [file] [log] [blame]
// WARNING: This file is machine generated by fidlgen.
// fidl_experiment = output_index_json
#include <fidl/test.handles/cpp/natural_messaging.h>
#include <lib/fidl/cpp/wire/unknown_interactions.h>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wshadow"
#ifdef __Fuchsia__
#endif // __Fuchsia__
#ifdef __Fuchsia__
#endif // __Fuchsia__
#ifdef __Fuchsia__
::fidl::Status fidl::SyncEventHandler<::test_handles::SomeProtocol>::HandleOneEvent(
::fidl::UnownedClientEnd<::test_handles::SomeProtocol> client_end) {
::fidl::internal::IncomingEventsStorage<::test_handles::SomeProtocol> event_storage;
fidl::internal::NaturalEventDispatcher<::test_handles::SomeProtocol> dispatcher{this};
return HandleOneEventImpl_(client_end.channel(), event_storage.view(), dispatcher);
}
#endif // __Fuchsia__
#ifdef __Fuchsia__
#endif // __Fuchsia__
#ifdef __Fuchsia__
constexpr ::fidl::internal::MethodEntry fidl::internal::NaturalServerDispatcher<::test_handles::SomeProtocol>::entries_[] = {};
const ::fidl::internal::MethodEntry* fidl::internal::NaturalServerDispatcher<::test_handles::SomeProtocol>::entries_end_ =
&entries_[0];
void fidl::internal::NaturalServerDispatcher<::test_handles::SomeProtocol>::Dispatch(::fidl::Server<::test_handles::SomeProtocol>* impl, ::fidl::IncomingHeaderAndMessage&& msg,
internal::MessageStorageViewBase* storage_view, ::fidl::Transaction* txn) {
::fidl::internal::Dispatch(impl, msg, storage_view, txn, entries_, entries_end_, &unknown_method_handler_entry_);
}
void fidl::Server<::test_handles::SomeProtocol>::dispatch_message(
::fidl::IncomingHeaderAndMessage&& msg, ::fidl::Transaction* txn,
::fidl::internal::MessageStorageViewBase* storage_view) {
::fidl::internal::NaturalServerDispatcher<::test_handles::SomeProtocol>::Dispatch(this, std::move(msg), storage_view, txn);
}
#endif // __Fuchsia__
#pragma clang diagnostic pop