template <>

class Server

Defined at line 176 of file fidling/gen/sdk/fidl/fuchsia.io.test/fuchsia.io.test/cpp/fidl/fuchsia.io.test/cpp/natural_messaging.h

Public Methods

void GetConfig (GetConfigCompleter::Sync & completer)

Returns the list of properties of the filesystem.

void CreateDirectory (CreateDirectoryRequest & request, CreateDirectoryCompleter::Sync & completer)

Creates a directory with the given `contents` and opens it with the specified `flags`.

void OpenServiceDirectory (OpenServiceDirectoryCompleter::Sync & completer)

Serves a service directory that contains a fuchsia.test.placeholders/Echo instance.

The test harness must have `supports_services` reported in it's config to use this method,

and the service instance should match the discoverable protocol name.

void Server ()

Defined at line 179 of file fidling/gen/sdk/fidl/fuchsia.io.test/fuchsia.io.test/cpp/fidl/fuchsia.io.test/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 180 of file fidling/gen/sdk/fidl/fuchsia.io.test/fuchsia.io.test/cpp/fidl/fuchsia.io.test/cpp/natural_messaging.h