template <>

class WireServer

Defined at line 853 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::Startup>|

and |::fidl::ServerEnd

<

::fuchsia_fs_startup::Startup>|).

Public Methods

void Start (::fuchsia_fs_startup::wire::StartupStartRequest * request, StartCompleter::Sync & completer)

Start this filesystem, using the provided block device and Start options. When start is

called, the filesystem will populate its outgoing directory and then return.

void Format (::fuchsia_fs_startup::wire::StartupFormatRequest * request, FormatCompleter::Sync & completer)

Format the provided block device with this filesystem.

void Check (::fuchsia_fs_startup::wire::StartupCheckRequest * request, CheckCompleter::Sync & completer)

Check the provided block device for filesystem consistency.

Note that some filesystems (e.g. Fxfs) support online fsck, in which case they can be

checked after being started. In this case, the passed block device is ignored.

void WireServer ()

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