template <>

class WireServer

Defined at line 10127 of file fidling/gen/sdk/fidl/fuchsia.paver/fuchsia.paver/cpp/fidl/fuchsia.paver/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_paver::Sysconfig>|

and |::fidl::ServerEnd

<

::fuchsia_paver::Sysconfig>|).

Public Methods

void Read (ReadCompleter::Sync & completer)

Read from the sub-partition

void WireServer ()

Defined at line 10130 of file fidling/gen/sdk/fidl/fuchsia.paver/fuchsia.paver/cpp/fidl/fuchsia.paver/cpp/wire_messaging.h

void Write (::fuchsia_paver::wire::SysconfigWriteRequest * request, WriteCompleter::Sync & completer)

Writes to the sub-partition

void GetPartitionSize (GetPartitionSizeCompleter::Sync & completer)

Get sub-partition size.

void Flush (FlushCompleter::Sync & completer)

Flush all previously buffered data to persistent storage.

void Wipe (WipeCompleter::Sync & completer)

Wipe all data in the sub-partition (write 0 to all bytes).

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 10131 of file fidling/gen/sdk/fidl/fuchsia.paver/fuchsia.paver/cpp/fidl/fuchsia.paver/cpp/wire_messaging.h