template <>

class Server

Defined at line 265 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/natural_messaging.h

Public Methods

void Configure (ConfigureRequest & request, ConfigureCompleter::Sync & completer)

Set up and prepare to profile

void Server ()

Defined at line 268 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/natural_messaging.h

void Start (StartRequest & request, StartCompleter::Sync & completer)

Begin profiling and optionally begin writing data to the configured

socket

void Stop (StopCompleter::Sync & completer)

End the profiling session and write out data to the earlier

configured socket if not already writing.

void Reset (ResetCompleter::Sync & completer)

Clean up and unconfigure the profiler. Flushes the remaining data and

closes the provided socket. Doesn't return until all data has been

successfully written.

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 269 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/natural_messaging.h