template <>
class NaturalSyncClientImpl
Defined at line 1340 of file fidling/gen/sdk/fidl/fuchsia.hardware.goldfish/fuchsia.hardware.goldfish/cpp/fidl/fuchsia.hardware.goldfish/cpp/natural_messaging.h
Public Methods
::fidl::Result< ::fuchsia_hardware_goldfish::Pipe::SetBufferSize> SetBufferSize (const ::fidl::Request< ::fuchsia_hardware_goldfish::Pipe::SetBufferSize> & request)
Request new IO buffer size. Can fail if out of memory. Discards
contents of existing buffer on success. Leaves existing buffer
intact on failure.
::fidl::Result< ::fuchsia_hardware_goldfish::Pipe::GetBuffer> GetBuffer ()
Acquire VMO for IO buffer. Can be called multiple times. Each call
returns a new handle to the VMO.
::fidl::Result< ::fuchsia_hardware_goldfish::Pipe::Read> Read (const ::fidl::Request< ::fuchsia_hardware_goldfish::Pipe::Read> & request)
Attempt to read up to count bytes into IO buffer at specified offset.
Returns `ZX_ERR_SHOULD_WAIT` if pipe device is not readable.
::fidl::Result< ::fuchsia_hardware_goldfish::Pipe::Write> Write (const ::fidl::Request< ::fuchsia_hardware_goldfish::Pipe::Write> & request)
Writes up to count bytes from the IO buffer at specified offset.
Returns `ZX_ERR_SHOULD_WAIT` if pipe device is not writable.
::fidl::Result< ::fuchsia_hardware_goldfish::Pipe::DoCall> DoCall (const ::fidl::Request< ::fuchsia_hardware_goldfish::Pipe::DoCall> & request)
Writes `count` bytes from the IO buffer at specified write
`offset`. Returns `ZX_ERR_SHOULD_WAIT` if pipe device is not writable.
If it writes to device successfully, it subsequently reads `read_count`
bytes into the IO buffer at specified `read_offset`. Returns
`ZX_ERR_SHOULD_WAIT` if pipe device is not readable.
Return value `actual` is the total bytes read from and written to
the IO buffer.
The name "DoCall" (instead of "Call") is to avoid collision with LLCPP
generated code "class Call" (generated per protocol). We don't want
this method attempting to compile as if it were a constructor.
::fit::result< ::fidl::OneWayError> SetEvent (::fidl::Request< ::fuchsia_hardware_goldfish::Pipe::SetEvent> request)
Set event used to signal device state. Discards existing event
after having transferred device state to the new event.