class LocalVnode

Defined at line 38 of file ../../sdk/lib/fdio/namespace/local-vnode.h

Represents a mapping from a string name to a remote connection.

Each LocalVnode may have named children, which themselves may also

optionally represent remote connections.

This class is thread-compatible.

Public Methods

void LocalVnode (const LocalVnode & )

Defined at line 40 of file ../../sdk/lib/fdio/namespace/local-vnode.h

void LocalVnode (LocalVnode && )

Defined at line 41 of file ../../sdk/lib/fdio/namespace/local-vnode.h

LocalVnode & operator= (const LocalVnode & )

Defined at line 42 of file ../../sdk/lib/fdio/namespace/local-vnode.h

LocalVnode & operator= (LocalVnode && )

Defined at line 43 of file ../../sdk/lib/fdio/namespace/local-vnode.h

void UnlinkFromParent ()

Detaches this vnode from its parent. The Vnode's own children are not unlinked.

Defined at line 98 of file ../../sdk/lib/fdio/namespace/local-vnode.cc

zx::result<std::string_view> Readdir (uint64_t * last_seen)

Returns the next child vnode from the list of children, assuming that

|last_seen| is the ID of the last returned vnode. At the same time,

|last_seen| is updated to reflect the current ID.

If the end of iteration is reached, |ZX_ERR_NOT_FOUND| is returned.

Defined at line 148 of file ../../sdk/lib/fdio/namespace/local-vnode.cc

zx_status_t EnumerateRemotes (const EnumerateCallback & func)

Invoke |func| on the (path, channel) pairs for all remote nodes found in the

node hierarchy rooted at `this`.

Defined at line 142 of file ../../sdk/lib/fdio/namespace/local-vnode.cc

std::variant<Local, Intermediate, Remote> & NodeType ()

Defined at line 170 of file ../../sdk/lib/fdio/namespace/local-vnode.h

Records

Friends

class RefPtr
class MakeRefCountedHelper