template <>

class WireServer

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

Pure-virtual interface to be implemented by a server.

This interface uses typed channels (i.e. |::fidl::ClientEnd

<

::fuchsia_io_test::TestHarness>|

and |::fidl::ServerEnd

<

::fuchsia_io_test::TestHarness>|).

Public Methods

void GetConfig (GetConfigCompleter::Sync & completer)

Returns the list of properties of the filesystem.

void CreateDirectory (::fuchsia_io_test::wire::TestHarnessCreateDirectoryRequest * 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 WireServer ()

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