sys::testing::ComponentContextProvider

Summary

Constructors and Destructors

ComponentContextProvider(async_dispatcher_t *dispatcher)
~ComponentContextProvider()

Public functions

ConnectToPublicService(const std::string & name, async_dispatcher_t *dispatcher) const
fidl::InterfacePtr< Interface >
ConnectToPublicService(fidl::InterfaceRequest< Interface > request, const std::string & name) const
void
TakeContext()
std::unique_ptr< sys::ComponentContext >
context()
outgoing_directory_ptr()
fuchsia::io::DirectoryPtr &
public_service_directory()
std::shared_ptr< sys::ServiceDirectory >
service_directory_provider() const
const std::shared_ptr< ServiceDirectoryProvider > &

Public functions

ComponentContextProvider

 ComponentContextProvider(
  async_dispatcher_t *dispatcher
)

ConnectToPublicService

fidl::InterfacePtr< Interface > ConnectToPublicService(
  const std::string & name,
  async_dispatcher_t *dispatcher
) const 

ConnectToPublicService

void ConnectToPublicService(
  fidl::InterfaceRequest< Interface > request,
  const std::string & name
) const 

TakeContext

std::unique_ptr< sys::ComponentContext > TakeContext()

context

sys::ComponentContext * context()

outgoing_directory_ptr

fuchsia::io::DirectoryPtr & outgoing_directory_ptr()

public_service_directory

std::shared_ptr< sys::ServiceDirectory > public_service_directory()

service_directory_provider

const std::shared_ptr< ServiceDirectoryProvider > & service_directory_provider() const 

~ComponentContextProvider

 ~ComponentContextProvider()