template <>
class WireServer
Defined at line 1102 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_tee::Application>|
and |::fidl::ServerEnd
<
::fuchsia_tee::Application>|).
Public Methods
void OpenSession2 (::fuchsia_tee::wire::ApplicationOpenSession2Request * request, OpenSession2Completer::Sync & completer)
Initiates a communication session with the trusted application.
void InvokeCommand (::fuchsia_tee::wire::ApplicationInvokeCommandRequest * request, InvokeCommandCompleter::Sync & completer)
Requests the trusted application perform the provided command. The command is unique to the
trusted application.
void CloseSession (::fuchsia_tee::wire::ApplicationCloseSessionRequest * request, CloseSessionCompleter::Sync & completer)
Closes an established session.
void WireServer ()
Defined at line 1105 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/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 1106 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/wire_messaging.h