blob: 3d58934b9324b871825e31aef670331ae01d5246 [file] [log] [blame]
#include <lib/fidl/cpp/features.h>
#if __FIDL_SUPPORT_HANDLES
#include <fidl/test.driverservice/cpp/driver/natural_messaging.h>
#include <lib/fidl_driver/cpp/unknown_interactions.h>
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wshadow"
::fidl::internal::NaturalEventDispatcher<::test_driverservice::SomeDriverProtocol>::NaturalEventDispatcher(::fidl::internal::NaturalEventHandlerInterface<::test_driverservice::SomeDriverProtocol>* event_handler)
: IncomingEventDispatcher(event_handler) {}
::fidl::ProtocolHandler<::test_driverservice::SomeDriverProtocol> fdf::Server<::test_driverservice::SomeDriverProtocol>::bind_handler(fdf_dispatcher_t* dispatcher) {
return [impl = this, dispatcher = dispatcher](::fdf::ServerEnd<::test_driverservice::SomeDriverProtocol> request) {
(void)::fdf::BindServer(dispatcher, std::move(request), impl);
};
}
constexpr ::fidl::internal::MethodEntry fidl::internal::NaturalServerDispatcher<::test_driverservice::SomeDriverProtocol>::entries_[] = {};
const ::fidl::internal::MethodEntry* fidl::internal::NaturalServerDispatcher<::test_driverservice::SomeDriverProtocol>::entries_end_ =
&entries_[0];
void fidl::internal::NaturalServerDispatcher<::test_driverservice::SomeDriverProtocol>::Dispatch(::fdf::Server<::test_driverservice::SomeDriverProtocol>* 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 fdf::Server<::test_driverservice::SomeDriverProtocol>::dispatch_message(
::fidl::IncomingHeaderAndMessage&& msg, ::fidl::Transaction* txn,
::fidl::internal::MessageStorageViewBase* storage_view) {
::fidl::internal::NaturalServerDispatcher<::test_driverservice::SomeDriverProtocol>::Dispatch(this, std::move(msg), storage_view, txn);
}
#pragma clang diagnostic pop
#endif // __FIDL_SUPPORT_HANDLES