template <>

class WireServer

Defined at line 3215 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/cpp/fidl/fuchsia.element/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_element::ViewController>|

and |::fidl::ServerEnd

<

::fuchsia_element::ViewController>|).

Public Methods

void Dismiss (DismissCompleter::Sync & completer)

Instructs the presenter to dismiss the associated view. Once dismissed,

the `ViewController` channel is closed with a `ZX_OK` epitaph. At this

point, it is safe to clean up any resources (such as terminating

a component) backing the view.

Clients should call `Dismiss()` prior to closing the `ViewController`

channel themselves.

void WireServer ()

Defined at line 3218 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/cpp/fidl/fuchsia.element/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 3219 of file fidling/gen/sdk/fidl/fuchsia.element/fuchsia.element/cpp/fidl/fuchsia.element/cpp/wire_messaging.h