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

Service<T> class

A node which binds a channel to a service implementation when opened.

Inheritance

Constructors

Service.withConnector (Connector<T> _connector)

Constructor with Connector

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

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

Connect to this vnode. All flags and modes are defined in https://fuchsia.googlesource.com/fuchsia/+/master/zircon/system/fidl/fuchsia-io/io.fidl ...
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.
override

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

Operators

operator ==(Object other) bool

The equality operator. ...
inherited