template <>

class WireServer

Defined at line 377 of file fidling/gen/sdk/fidl/fuchsia.media.audio/fuchsia.media.audio/cpp/fidl/fuchsia.media.audio/cpp/wire_messaging.h

Pure-virtual interface to be implemented by a server.

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

<

::fuchsia_media_audio::EffectsController>|

and |::fidl::ServerEnd

<

::fuchsia_media_audio::EffectsController>|).

Public Methods

void UpdateEffect (::fuchsia_media_audio::wire::EffectsControllerUpdateEffectRequest * request, UpdateEffectCompleter::Sync & completer)

Sends the `config` message to an audio effect named `effect_name`. If the

server closes the `EffectsController` connection for any reason, that

indicates that the effects have been reset and any state associated with

previous `UpdateEffect` messages have been lost. Clients who wish to re-apply

state should respond by reconnecting and resending any needed `UpdateEffect`

messages. If a client closes the connection, no state will be lost but the

client will also be unable to determine if and when any state associated with

previous messages have been lost.

Returns success (empty response) if the message was accepted by an

effect named `effect_name`.

Returns `UpdateEffectError.INVALID_CONFIG` if an effect with the name

`effect_name` was found, but the `config` message was rejected.

Returns `UpdateEffectError.NOT_FOUND` if no effect with name `effect_name`

could be located.

void WireServer ()

Defined at line 380 of file fidling/gen/sdk/fidl/fuchsia.media.audio/fuchsia.media.audio/cpp/fidl/fuchsia.media.audio/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 381 of file fidling/gen/sdk/fidl/fuchsia.media.audio/fuchsia.media.audio/cpp/fidl/fuchsia.media.audio/cpp/wire_messaging.h