template <>

class Server

Defined at line 608 of file fidling/gen/sdk/fidl/fuchsia.inspect/fuchsia.inspect/cpp/fidl/fuchsia.inspect/cpp/natural_messaging.h

Public Methods

void GetContent (GetContentCompleter::Sync & completer)

Get the content for the Inspect VMO backing this tree.

So long as the Tree connection is still maintained, the contents

of the tree are guaranteed to still be live. Once the connection is

lost, the serving component is free to clear the contents of returned

shared buffers.

Serving components may return different buffers to GetContent

requests for the same Tree.

void ListChildNames (ListChildNamesRequest & request, ListChildNamesCompleter::Sync & completer)

Iterate over the names of Trees that are children of this Tree.

The underlying list of children may change in between calls to

ListChildNames and OpenChild.

void OpenChild (OpenChildRequest & request, OpenChildCompleter::Sync & completer)

Open a child Tree by name.

If the child cannot be opened, the given request is closed.

void Server ()

Defined at line 611 of file fidling/gen/sdk/fidl/fuchsia.inspect/fuchsia.inspect/cpp/fidl/fuchsia.inspect/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 612 of file fidling/gen/sdk/fidl/fuchsia.inspect/fuchsia.inspect/cpp/fidl/fuchsia.inspect/cpp/natural_messaging.h