Incoming class

*[<Null safety>](https://dart.dev/null-safety)*

final launcherProxy = LauncherProxy(); context.incoming.connectToService(launcherProxy);

launcherProxy.createComponent(launchInfo, ctrl); final myProxy = MyProxy(); incoming.connectToService(myProxy);

incoming.close();

Constructors

Incoming ()

Initializes Incoming with an unbound DirectoryProxy which can be used to bind to a launched component's services.

Incoming.fromSvcPath ()

Initializes Incoming with a Directory that is bound to /svc of this component. factory

Incoming.withDirectory (dynamic _dirProxy)

Initializes Incoming with a Directory that should be bound to /svc of this component.

Properties

hashCode → int

The hash code for this object.
read-onlyinherited

runtimeType → Type

A representation of the runtime type of the object.
read-onlyinherited

Methods

close() Future<void>

Terminates connection and return Zircon status.

connectToService<T>(AsyncProxy<T>? serviceProxy, {String? name}) void

Connects to the incoming service specified by serviceProxy.

connectToServiceByNameWithChannel(String? serviceName, Channel? channel) void

Connects to the incoming service specified by serviceName through the channel endpoint supplied by the caller.

connectToServiceWithChannel<T>(AsyncProxy<T>? serviceProxy, Channel? channel) void

Connects to the incoming service specified by serviceProxy through the channel endpoint supplied by the caller.

noSuchMethod(Invocation invocation) dynamic

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

request() InterfaceRequest

Takes ownership of the Directory's request object for binding to another processes outgoing services.

toString() String

A string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator.
inherited