*[<Null safety>](https://dart.dev/null-safety)*
A RemoteDir is a directory-like object which 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.
Inheritance
- Object
- Vnode
- RemoteDir
Constructors
Constructs the RemoteDir with a given channel
to the remote.
Properties
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
Methods
close() void
Close this node and all of its bindings and children.
override
connect(dynamic flags, int mode, InterfaceRequest request, [dynamic parentFlags]) int
Connect to this vnode.
All flags and modes are defined in
https://fuchsia.googlesource.com/fuchsia/+/HEAD/sdk/fidl/fuchsia.io/
override
filterForNodeReference(dynamic flags) dynamic
Filter flags when OpenFlags.nodeReference
is passed.
This will maintain compatibility with c++ layer.
inherited
inodeNumber() int
Inode number as defined in fuchsia.io.
override
noSuchMethod(Invocation invocation) dynamic
Invoked when a non-existent method or property is accessed.
inherited
open(dynamic flags, int mode, String path, InterfaceRequest request, [dynamic parentFlags]) void
This function is called from fidl_fuchsia_io.Directory#open
.
This function parses path and opens correct node.
override
sendErrorEvent(dynamic flags, int status, InterfaceRequest request) void
Create a error node to send onOpen event with failure status.
inherited
toString() String
A string representation of this object.
inherited
type() dynamic
override
Operators
operator ==(Object other) bool
The equality operator.
inherited