template <>
class WireServer
Defined at line 981 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_cpu_profiler::Session>|
and |::fidl::ServerEnd
<
::fuchsia_cpu_profiler::Session>|).
Public Methods
void Configure (::fuchsia_cpu_profiler::wire::SessionConfigureRequest * request, ConfigureCompleter::Sync & completer)
Set up and prepare to profile
void Start (::fuchsia_cpu_profiler::wire::SessionStartRequest * 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.
void WireServer ()
Defined at line 984 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_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 ~WireServer ()
Defined at line 985 of file fidling/gen/sdk/fidl/fuchsia.cpu.profiler/fuchsia.cpu.profiler/cpp/fidl/fuchsia.cpu.profiler/cpp/wire_messaging.h