vfs::RemoteDir

Summary

Inheritance

Inherits from: vfs::internal::Directory

Constructors and Destructors

RemoteDir(zx::channel remote_dir)
RemoteDir(fidl::InterfaceHandle< fuchsia::io::Directory > dir)
~RemoteDir()

Public functions

IsRemote() const override
bool
OpenRemote(fuchsia::io::OpenFlags flags, fuchsia::io::ModeType mode, std::string_view, fidl::InterfaceRequest< fuchsia::io::Node > request) override
void

Protected functions

Connect(fuchsia::io::OpenFlags flags, zx::channel request, async_dispatcher_t *dispatcher) final
zx_status_t
Readdir(uint64_t offset, void *data, uint64_t len, uint64_t *out_offset, uint64_t *out_actual) final
zx_status_t

Public functions

IsRemote

bool IsRemote() const override

OpenRemote

void OpenRemote(
  fuchsia::io::OpenFlags flags,
  fuchsia::io::ModeType mode,
  std::string_view,
  fidl::InterfaceRequest< fuchsia::io::Node > request
) override

RemoteDir

 RemoteDir(
  zx::channel remote_dir
)

RemoteDir

 RemoteDir(
  fidl::InterfaceHandle< fuchsia::io::Directory > dir
)

~RemoteDir

 ~RemoteDir() override

Protected functions

Connect

zx_status_t Connect(
  fuchsia::io::OpenFlags flags,
  zx::channel request,
  async_dispatcher_t *dispatcher
) final

Readdir

zx_status_t Readdir(
  uint64_t offset,
  void *data,
  uint64_t len,
  uint64_t *out_offset,
  uint64_t *out_actual
) final