Records

Functions

  • template <typename Protocol>
    zx::result<zx::channel> CloneRaw (fidl::UnownedClientEnd<Protocol> && client)

    Defined at line 41 of file ../../sdk/lib/component/incoming/cpp/internal.h

  • zx::result<> ConnectRaw (zx::channel server_end, std::string_view path)

    Implementation of |component::Connect| that delegates to |fdio_service_connect|.

    Defined at line 58 of file ../../sdk/lib/component/incoming/cpp/internal.cc

  • zx::result<> ConnectAtRaw (fidl::UnownedClientEnd<fuchsia_io::Directory> svc_dir, zx::channel server_end, std::string_view protocol_name)

    Implementation of |component::ConnectAt| for a service directory that delegates to

    |fdio_service_connect_at|.

    Defined at line 67 of file ../../sdk/lib/component/incoming/cpp/internal.cc

  • zx::result<fidl::ClientEnd<fuchsia_io::Directory>> OpenDirectory (std::string_view path, fuchsia_io::wire::Flags flags)

    Implementation of |component::OpenDirectory| that delegates to |fdio_open3|.

    Defined at line 78 of file ../../sdk/lib/component/incoming/cpp/internal.cc

  • zx::result<fidl::ClientEnd<fuchsia_io::Directory>> OpenDirectoryAt (fidl::UnownedClientEnd<fuchsia_io::Directory> dir, std::string_view path, fuchsia_io::wire::Flags flags)

    Implementation of |component::OpenDirectoryAt| that delegates to |fdio_open3_at|.

    Defined at line 94 of file ../../sdk/lib/component/incoming/cpp/internal.cc

  • template <typename Protocol>
    void EnsureCanConnectToProtocol ()

    Ensures that |Protocol| is *not* a fuchsia.io protocol. Unlike most services/protocols,

    fuchsia.io connections require a set of flags to be passed during opening that set the expected

    rights on the resulting connection.

    This is not a type trait so that we can provide a consistent error message.

    Defined at line 100 of file ../../sdk/lib/component/incoming/cpp/internal.h

  • zx::result<> CloneRaw (fidl::UnownedClientEnd<fuchsia_unknown::Cloneable> && cloneable, zx::channel server_end)

    Implementation of |component::Clone| for |fuchsia.unknown/Cloneable|.

    Defined at line 111 of file ../../sdk/lib/component/incoming/cpp/internal.cc

  • zx::result<> OpenNamedServiceRaw (std::string_view service, std::string_view instance, zx::channel remote)

    Implementation of |component::OpenService| that is independent from the

    actual |Service|.

    Defined at line 121 of file ../../sdk/lib/component/incoming/cpp/internal.cc

  • zx::result<> OpenNamedServiceAtRaw (fidl::UnownedClientEnd<fuchsia_io::Directory> dir, std::string_view service_path, std::string_view instance, zx::channel remote)

    Implementation of |component::OpenServiceAt| that is independent from the

    actual |Service|.

    Defined at line 130 of file ../../sdk/lib/component/incoming/cpp/internal.cc

  • zx::result<> ProtocolOpenFunc (zx::unowned_channel dir, fidl::StringView path, fidl::internal::AnyTransport remote)

    The internal |ProtocolOpenFunc| needs to take raw Zircon channels because

    the FIDL runtime that interfaces with it cannot depend on the |fuchsia.io|

    FIDL library.

    Defined at line 142 of file ../../sdk/lib/component/incoming/cpp/internal.cc

  • zx::result<fidl::ClientEnd<fuchsia_io::Directory>> GetGlobalServiceDirectory ()

Variables

bool const has_fidl_method_fuchsia_unknown_clone_v

Defined at line 81 of file ../../sdk/lib/component/incoming/cpp/internal.h

bool const has_fidl_method_fuchsia_unknown_clone_v

Defined at line 81 of file ../../sdk/lib/component/incoming/cpp/internal.h

const auto has_fidl_method_fuchsia_unknown_clone_v

Defined at line 82 of file ../../sdk/lib/component/incoming/cpp/internal.h

bool const is_complete_v

Defined at line 91 of file ../../sdk/lib/component/incoming/cpp/internal.h

bool const is_complete_v

Defined at line 91 of file ../../sdk/lib/component/incoming/cpp/internal.h

const auto is_complete_v

Defined at line 92 of file ../../sdk/lib/component/incoming/cpp/internal.h