class LocalComponent

Defined at line 290 of file ../../sdk/lib/sys/component/cpp/testing/realm_builder_types.h

The use of this class is DEPRECATED.

The interface for backing implementations of components with a Source of Mock

when added by deprecated method AddLocalChild(..., LocalComponent*, ...).

TODO(https://fxbug.dev/296292544): Remove class when build support for API level 16 is removed.

Public Methods

void ~LocalComponent ()

Defined at line 55 of file ../../sdk/lib/sys/component/cpp/testing/realm_builder_types.cc

void Start (std::unique_ptr<LocalComponentHandles> mock_handles)

Invoked when the Component Manager issues a Start request to the component.

|mock_handles| contains the outgoing directory and namespace of

the component.