template <>
class Server
Defined at line 348 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/natural_messaging.h
Public Methods
void OpenSession2 (OpenSession2Request & request, OpenSession2Completer::Sync & completer)
Initiates a communication session with the trusted application.
void InvokeCommand (InvokeCommandRequest & request, InvokeCommandCompleter::Sync & completer)
Requests the trusted application perform the provided command. The command is unique to the
trusted application.
void CloseSession (CloseSessionRequest & request, CloseSessionCompleter::Sync & completer)
Closes an established session.
void Server ()
Defined at line 351 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/natural_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 ~Server ()
Defined at line 352 of file fidling/gen/sdk/fidl/fuchsia.tee/fuchsia.tee/cpp/fidl/fuchsia.tee/cpp/natural_messaging.h