template <>

class Server

Defined at line 405 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/cpp/fidl/fuchsia.component.test/cpp/natural_messaging.h

Public Methods

void Build (BuildRequest & request, BuildCompleter::Sync & completer)

Assembles the realm being constructed and returns the URL for the root

component in the realm, which may then be used to create a new component

in any collection where fuchsia-test-component is properly set up. Once

this is called, any Realm channels for the realm will no longer be

usable. The `runner` argument must be provided if the `AddLocalChild`

function has been used in this realm, as this runner channel will be

used to inform the client when to start and stop running any local

component implementations.

Errors:

- `INVALID_COMPONENT_DECL`: A component declaration failed validaiton.

- `BUILD_ALREADY_CALLED`: The `Build` function has been called multiple

times on this channel.

void Server ()

Defined at line 408 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/cpp/fidl/fuchsia.component.test/cpp/natural_messaging.h

Handler bind_handler (async_dispatcher_t * dispatcher)

|bind_handler| returns a handler that binds incoming connections to this

server implementation.

The returned handler borrows the server instance.

The server must outlive the provided |dispatcher|. Only after

the dispatcher is shutdown will it be safe to destroy the servers.

The server should not be moved.

void ~Server ()

Defined at line 409 of file fidling/gen/sdk/fidl/fuchsia.component.test/fuchsia.component.test/cpp/fidl/fuchsia.component.test/cpp/natural_messaging.h