template <>

class WireServer

Defined at line 3095 of file fidling/gen/src/storage/fidl/fuchsia.fs.startup/fuchsia.fs.startup/cpp/fidl/fuchsia.fs.startup/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_fs_startup::Volumes>|

and |::fidl::ServerEnd

<

::fuchsia_fs_startup::Volumes>|).

Public Methods

void Create (::fuchsia_fs_startup::wire::VolumesCreateRequest * request, CreateCompleter::Sync & completer)

Creates and mounts a new volume identified by `name`. `mount_options` affects how the

resulting volume is mounted. For encrypted volumes, `mount_options.crypt` is also used when

creating the volume. `outgoing_directory` will be connected to the root directory of the

volume.

void Remove (::fuchsia_fs_startup::wire::VolumesRemoveRequest * request, RemoveCompleter::Sync & completer)

Permanently deletes a volume identified by `name`. If the volume is mounted, this call will

fail.

void GetInfo (GetInfoCompleter::Sync & completer)

Get general info about the volume manager.

void WireServer ()

Defined at line 3098 of file fidling/gen/src/storage/fidl/fuchsia.fs.startup/fuchsia.fs.startup/cpp/fidl/fuchsia.fs.startup/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 3099 of file fidling/gen/src/storage/fidl/fuchsia.fs.startup/fuchsia.fs.startup/cpp/fidl/fuchsia.fs.startup/cpp/wire_messaging.h