blob: 511c56ba11c49a3050f09238e6ab21d350fad5b7 [file] [log] [blame]
// WARNING: This file is machine generated by fidlgen.
// fidl_experiment = output_index_json
#include <fidl/test.handles/cpp/wire_messaging.h>
#include <memory>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wshadow"
#ifdef __Fuchsia__
#endif // __Fuchsia__
#ifdef __Fuchsia__
::fidl::Status fidl::WireSyncEventHandler<::test_handles::SomeProtocol>::HandleOneEvent(
::fidl::UnownedClientEnd<::test_handles::SomeProtocol> client_end) {
::fidl::internal::IncomingEventsStorage<::test_handles::SomeProtocol> event_storage;
fidl::internal::WireEventDispatcher<::test_handles::SomeProtocol> dispatcher{this};
return HandleOneEventImpl_(client_end.channel(), event_storage.view(), dispatcher);
}
#endif // __Fuchsia__
#ifdef __Fuchsia__
constexpr ::fidl::internal::MethodEntry fidl::internal::WireServerDispatcher<::test_handles::SomeProtocol>::entries_[] = {};
const ::fidl::internal::MethodEntry* fidl::internal::WireServerDispatcher<::test_handles::SomeProtocol>::entries_end_ =
&entries_[0];
::fidl::DispatchResult fidl::internal::WireServerDispatcher<::test_handles::SomeProtocol>::TryDispatch(
::fidl::WireServer<::test_handles::SomeProtocol>* impl, ::fidl::IncomingHeaderAndMessage& msg,
internal::MessageStorageViewBase* storage_view, ::fidl::Transaction* txn) {
return ::fidl::internal::TryDispatch(
impl, msg, storage_view, txn, entries_, entries_end_);
}
void fidl::internal::WireServerDispatcher<::test_handles::SomeProtocol>::Dispatch(::fidl::WireServer<::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::WireServer<::test_handles::SomeProtocol>::dispatch_message(
::fidl::IncomingHeaderAndMessage&& msg, ::fidl::Transaction* txn,
::fidl::internal::MessageStorageViewBase* storage_view) {
::fidl::internal::WireServerDispatcher<::test_handles::SomeProtocol>::Dispatch(this, std::move(msg), storage_view, txn);
}
#endif // __Fuchsia__
#ifdef __Fuchsia__
#endif // __Fuchsia__
#pragma clang diagnostic pop