template <>

class WireServer

Defined at line 297 of file fidling/gen/sdk/fidl/fuchsia.fs/fuchsia.fs/cpp/fidl/fuchsia.fs/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_fs::Admin>|

and |::fidl::ServerEnd

<

::fuchsia_fs::Admin>|).

Public Methods

void Shutdown (ShutdownCompleter::Sync & completer)

Shuts down the filesystem. Once the filesystem receives the shutdown request, it will

complete any active requests before terminating, but will not respond to new requests. This

call blocks until all open connections to the filesystem are terminated and any underlying

block devices or other owned channels are released, then it responds to this request and

closes this channel.

void WireServer ()

Defined at line 300 of file fidling/gen/sdk/fidl/fuchsia.fs/fuchsia.fs/cpp/fidl/fuchsia.fs/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 301 of file fidling/gen/sdk/fidl/fuchsia.fs/fuchsia.fs/cpp/fidl/fuchsia.fs/cpp/wire_messaging.h