template <>
class WireServer
Defined at line 601 of file fidling/gen/sdk/fidl/fuchsia.hardware.ram.metrics/fuchsia.hardware.ram.metrics/cpp/fidl/fuchsia.hardware.ram.metrics/cpp/wire_messaging.h
Pure-virtual interface to be implemented by a server.
This interface uses typed channels (i.e. |::fidl::ClientEnd
<
::fuchsia_hardware_ram_metrics::Device>|
and |::fidl::ServerEnd
<
::fuchsia_hardware_ram_metrics::Device>|).
Public Methods
void MeasureBandwidth (::fuchsia_hardware_ram_metrics::wire::DeviceMeasureBandwidthRequest * request, MeasureBandwidthCompleter::Sync & completer)
Trigger one measurement. This can be called again before the reply
arrives but it won't be serviced until previous requests are completed.
The return on success is the measurement.
The return on failure are as follows:
ZX_ERR_INVALID_ARGS : The BandwidthMeasurementConfig values are incorrect.
ZX_ERR_NOT_SUPPORTED : The BandwidthMeasurementConfig values are not supported
by the hardware.
ZX_ERR_SHOULD_WAIT : Too many requests pending. A future request might succeed.
Other errors indicate internal failure.
void GetDdrWindowingResults (GetDdrWindowingResultsCompleter::Sync & completer)
Retrieve the DDR Windowing tool results
The windowing tool runs in the bootloader and stores results in a sticky register.
The return on success is the register value
The return on failure is ZX_ERR_NOT_SUPPORTED if the hardware does not support
reading the sticky register.
void WireServer ()
Defined at line 604 of file fidling/gen/sdk/fidl/fuchsia.hardware.ram.metrics/fuchsia.hardware.ram.metrics/cpp/fidl/fuchsia.hardware.ram.metrics/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 605 of file fidling/gen/sdk/fidl/fuchsia.hardware.ram.metrics/fuchsia.hardware.ram.metrics/cpp/fidl/fuchsia.hardware.ram.metrics/cpp/wire_messaging.h