template <>

class WireWeakSyncClientImpl

Defined at line 1681 of file fidling/gen/sdk/fidl/fuchsia.hardware.goldfish.pipe/fuchsia.hardware.goldfish.pipe/cpp/fidl/fuchsia.hardware.goldfish.pipe/cpp/wire_messaging.h

Public Methods

::fidl::WireResult< ::fuchsia_hardware_goldfish_pipe::Bus::Create> Create ()

Creates a new connection to the pipe bus.

Clients must `Destroy` all pipe bus connections they `Create`d.

Failure to do so may result in host side resources being not cleaned up

properly.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_hardware_goldfish_pipe::Bus::Destroy> Destroy (int32_t id)

Destroys a previously created pipe connection.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_hardware_goldfish_pipe::Bus::SetEvent> SetEvent (int32_t id, ::zx::event && pipe_event)

Set event used to signal device state. Discards existing event

after having transferred device state to the new event, if event

exists.

Return error states from `zx_object_wait_one` and `zx_object_signal`

if existing events on `pipe_event` cannot be transferred to the call.

Otherwise returns `ZX_OK`.

Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_hardware_goldfish_pipe::Bus::Open> Open (int32_t id)

Open pipe connection. This must be called before any other

commands are issued and will cause the physical address of the

command structure to be a associated with the pipe. The command

structure must contain {.cmd = OPEN, .id = id} at the time this

request is issued.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_hardware_goldfish_pipe::Bus::Exec> Exec (int32_t id)

Execute pipe command stored in associated command structure.

Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_hardware_goldfish_pipe::Bus::GetBti> GetBti ()

Get BTI that can be used create IO buffers for read/write commands.

Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.