class RemoteDir
Defined at line 31 of file ../../src/storage/lib/vfs/cpp/remote_dir.h
A remote directory holds a channel to a remotely hosted directory to which requests are delegated
when opened.
This class is designed to allow programs to publish remote filesystems as directories without
requiring a separate "mount" step. In effect, a remote directory is "mounted" at creation time.
It is not possible for the client to detach the remote directory or to mount a new one in its
place.
This class is thread-safe.
Public Methods
fuchsia_io::NodeProtocolKinds GetProtocols ()
|Vnode| implementation:
Defined at line 29 of file ../../src/storage/lib/vfs/cpp/remote_dir.cc
bool IsRemote ()
Defined at line 33 of file ../../src/storage/lib/vfs/cpp/remote_dir.cc
fidl::UnownedClientEnd<fuchsia_io::Directory> client_end ()
Construct with fbl::MakeRefCounted.
Defined at line 35 of file ../../src/storage/lib/vfs/cpp/remote_dir.h
void DeprecatedOpenRemote (fuchsia_io::OpenFlags , fuchsia_io::ModeType , fidl::StringView , fidl::ServerEnd<fuchsia_io::Node> )
Defined at line 35 of file ../../src/storage/lib/vfs/cpp/remote_dir.cc
void OpenRemote (fuchsia_io::wire::DirectoryOpenRequest request)
Defined at line 46 of file ../../src/storage/lib/vfs/cpp/remote_dir.cc
Protected Methods
void RemoteDir (fidl::ClientEnd<fuchsia_io::Directory> remote_dir_client)
Binds to a remotely hosted directory using the specified FIDL client channel endpoint. The
channel must be valid.
Defined at line 22 of file ../../src/storage/lib/vfs/cpp/remote_dir.cc
void ~RemoteDir ()
Releases the remotely hosted directory.
Defined at line 27 of file ../../src/storage/lib/vfs/cpp/remote_dir.cc
Friends
class RefPtr
class MakeRefCountedHelper