template <>

class Server

Defined at line 131 of file fidling/gen/sdk/fidl/fuchsia.memory.sampler/fuchsia.memory.sampler/cpp/fidl/fuchsia.memory.sampler/cpp/natural_messaging.h

Public Methods

void RecordAllocation (RecordAllocationRequest & request, RecordAllocationCompleter::Sync & completer)

Record an allocation.

void RecordDeallocation (RecordDeallocationRequest & request, RecordDeallocationCompleter::Sync & completer)

Record a deallocation.

void Server ()

Defined at line 134 of file fidling/gen/sdk/fidl/fuchsia.memory.sampler/fuchsia.memory.sampler/cpp/fidl/fuchsia.memory.sampler/cpp/natural_messaging.h

void SetProcessInfo (SetProcessInfoRequest & request, SetProcessInfoCompleter::Sync & completer)

Communicate relevant process information to facilitate symbolization.

If called several times, the last `process_name` prevails, but the

`module_map` is added to the existing map for the process. If a client

needs to send a `module_map` that does not fit in a single message, they

can split it and send it across several messages.

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 135 of file fidling/gen/sdk/fidl/fuchsia.memory.sampler/fuchsia.memory.sampler/cpp/fidl/fuchsia.memory.sampler/cpp/natural_messaging.h