template <>

class Server

Defined at line 156 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/cpp/fidl/fuchsia.process.lifecycle/cpp/natural_messaging.h

Public Methods

void Server ()

Defined at line 159 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/cpp/fidl/fuchsia.process.lifecycle/cpp/natural_messaging.h

void Stop (StopCompleter::Sync & completer)

The process must clean up its state in preparation for termination, and

must close the channel hosting the `Lifecycle` protocol when it is

ready to be terminated. The process should exit after it completes its

cleanup. At the discretion of the system the process may be terminated

before it closes the `Lifecycle` channel.

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 160 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/cpp/fidl/fuchsia.process.lifecycle/cpp/natural_messaging.h