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

ServiceProviderImpl class

The ServiceProviderImpl is a concrete implementation of the fidl.ServiceProvider interface.

Constructors

ServiceProviderImpl ()

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

addServiceForName<T>(void connector(InterfaceRequest<T>), String serviceName) void

Registers the connector function with the given serviceName. The connector function is invoked when the service provider is asked by the framework to connect to the service in the connectToService method.

bind(InterfaceRequest interfaceRequest) void

Binds this object to the interfaceRequest.

close() void

Closes the connection to the underlying binding.

connectToService(String serviceName, Channel channel) Future<void>

See fidl.ServiceProvider#connectToService.

noSuchMethod(Invocation invocation) dynamic

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

toString() String

Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator. ...
inherited