template <>
class WireServer
Defined at line 828 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_feedback::CrashReporter>|
and |::fidl::ServerEnd
<
::fuchsia_feedback::CrashReporter>|).
Public Methods
void FileReport (::fuchsia_feedback::wire::CrashReporterFileReportRequest * request, FileReportCompleter::Sync & completer)
Files a crash `report` and gives the final result of the operation.
This could mean generating a crash report in a local crash report
database or uploading the crash report to a remote crash server
depending on the FIDL server's configuration.
Warning: this could potentially take up to several minutes. Calling
this function in a synchronous manner is not recommended.
void WireServer ()
Defined at line 831 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/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 832 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/cpp/fidl/fuchsia.feedback/cpp/wire_messaging.h