*<Null safety>*
Classes
ComponentContext
Context information that this component received at startup. ...
Incoming
Helper class to connect to incoming services. ...
Outgoing
Helper class to publish outgoing services and other directories for debug and control purposes
ServiceProviderImpl
The ServiceProviderImpl is a concrete implementation of the
fidl.ServiceProvider
interface.
Functions
connectToAgentService<T>(String agentUrl, AsyncProxy<T> serviceProxy, {dynamic componentContextProxy}) void
TODO(fxbug.dev/49976): Remove this once clients have been migrated to use deprecatedConnectToAgentService().
deprecatedConnectToAgentService<T>(String? agentUrl, AsyncProxy<T>? serviceProxy, {dynamic componentContextProxy}) void
Connect to the service specified by serviceProxy
and implemented by the
agent with agentUrl
. Optionally, provide a componentContextProxy
which
will be used to connect to the agent. If agentUrl
is null then the framework
will attempt to automatically resolve an appropriate agent for the service. ...
Exceptions / Errors
IncomingStateException
An Exception that can be thrown if the Incoming object is in a bad state.