Google is committed to advancing racial equity for Black communities. See how.

PseudoVmoFile class

A PseudoVmoFile is a VmoFile typed PseudoFile whose content is read from a Vmo dynamically produced by a supplied callback.

Each FIDL connection to a PseudoVmoFile calls the supplied callback once and reads the content of the produced Vmo into a buffer. Therefore, connection order is important.

Reads on each connection are seperately buffered.

Inheritance

Constructors

PseudoVmoFile.readOnly (VmoFn _vmoFn)

Constructor for read-only Vmo ...

Properties

hashCodeint

The hash code for this object. ...
read-only, inherited

runtimeTypeType

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.
inherited

connect(int flags, int mode, InterfaceRequest request, [int parentFlags = Flags.fsRights]) int

Connects to this instance of PseudoFile and serves fushsia.io.File over fidl.
inherited

describe() dynamic

Describes this node and exposes a duplicate of the underlying Vmo. ...
override

filterForNodeReference(int flags) int

Filter flags when openFlagNodeReference is passed. This will maintain compatibility with c++ layer.
inherited

inodeNumber() int

Inode number as defined in io.fidl.
inherited

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed. ...
inherited

open(int flags, int mode, String path, InterfaceRequest request, [int parentFlags = Flags.fsRights]) void

This function is called from fuchsia.io.Directory#open. This function parses path and opens correct node. ...
inherited

sendErrorEvent(int flags, int status, InterfaceRequest request) void

Create a error node to send onOpen event with failure status.
inherited

toString() String

Returns a string representation of this object.
inherited

type() int

Should be one of ...
inherited

Operators

operator ==(Object other) bool

The equality operator. ...
inherited