blob: 5b113029ecefe26122acca761121e3cb65762b6a [file] [log] [blame]
// WARNING: This file is machine generated by fidlgen.
// fidl_experiment = output_index_json
#pragma once
#include <lib/fidl/cpp/wire/internal/transport.h>
#include <lib/fidl/cpp/wire/unknown_interactions.h>
namespace test_emptystruct {
class EmptyProtocol final {
EmptyProtocol() = delete;
public:
using Transport = ::fidl::internal::ChannelTransport;
static constexpr ::fidl::internal::Openness kOpenness = ::fidl::internal::Openness::kClosed;
class Send final {
Send() = delete;
public:
using Protocol = ::test_emptystruct::EmptyProtocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = false;
static constexpr bool kHasServerToClientBody = false;
static constexpr bool kHasNonEmptyUserFacingResponse = false;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class Receive final {
Receive() = delete;
public:
using Protocol = ::test_emptystruct::EmptyProtocol;
static constexpr bool kHasClientToServer = false;
static constexpr bool kHasClientToServerBody = false;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
class SendAndReceive final {
SendAndReceive() = delete;
public:
using Protocol = ::test_emptystruct::EmptyProtocol;
static constexpr bool kHasClientToServer = true;
static constexpr bool kHasClientToServerBody = true;
static constexpr bool kHasServerToClient = true;
static constexpr bool kHasServerToClientBody = true;
static constexpr bool kHasNonEmptyUserFacingResponse = true;
static constexpr bool kHasDomainError = false;
static constexpr bool kHasFrameworkError = false;
};
};
} // namespace test_emptystruct
namespace fidl {
template <>
struct IsProtocol<::test_emptystruct::EmptyProtocol> : public std::true_type {};
} // namespace fidl