blob: ff2336d7df62ba4c43ac98670834b79b37800cd3 [file] [log] [blame]
// WARNING: This file is machine generated by fidlgen.
#include <fidl/test.handles/cpp/wire_messaging.h>
#include <memory>
#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::IncomingMessage& 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::IncomingMessage&& msg,
internal::MessageStorageViewBase* storage_view, ::fidl::Transaction* txn) {
::fidl::internal::Dispatch(impl, msg, storage_view, txn, entries_, entries_end_);
}
void fidl::WireServer<::test_handles::SomeProtocol>::dispatch_message(
::fidl::IncomingMessage&& 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__