template <>
class Server
Defined at line 190 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2cimpl/fuchsia.hardware.i2cimpl/cpp/fidl/fuchsia.hardware.i2cimpl/cpp/driver/natural_messaging.h
Public Methods
void GetMaxTransferSize (GetMaxTransferSizeCompleter::Sync & completer)
void Server ()
Defined at line 193 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2cimpl/fuchsia.hardware.i2cimpl/cpp/fidl/fuchsia.hardware.i2cimpl/cpp/driver/natural_messaging.h
void SetBitrate (SetBitrateRequest & request, SetBitrateCompleter::Sync & completer)
Sets the bitrate for the i2c bus in KHz units.
void Transact (TransactRequest & request, TransactCompleter::Sync & completer)
|Transact| assumes that write ops write_data length are not zero.
|Transact| assumes that at least the last op has stop set to true.
For each read-transaction, there will be a corresponding ReadData
returned. Write-transactions produce no data result.
Handler bind_handler (fdf_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 194 of file fidling/gen/sdk/fidl/fuchsia.hardware.i2cimpl/fuchsia.hardware.i2cimpl/cpp/fidl/fuchsia.hardware.i2cimpl/cpp/driver/natural_messaging.h