template <>

class WireServer

Defined at line 5101 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_web::NavigationEventListener>|

and |::fidl::ServerEnd

<

::fuchsia_web::NavigationEventListener>|).

Public Methods

void OnNavigationStateChanged (::fuchsia_web::wire::NavigationEventListenerOnNavigationStateChangedRequest * request, OnNavigationStateChangedCompleter::Sync & completer)

Called immediately after [`Frame.SetNavigationEventListener`] and every time user-visible

navigation state has changed. In the first call, `change` contains the current navigation

state (empty before the first navigation request). In every following call, `change` will

have values set for all fields that have changed at any time since the previous

notification. This means that some fields may have the same value as was previously

reported, for example, if they changed to some other value and back again. If a field is

unset, then its value has not changed at any time since the previous notification.

Implementer must call the acknowledgement callback to receive new navigation events.

void WireServer ()

Defined at line 5104 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/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 5105 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/wire_messaging.h