template <>
class WireSyncBufferClientImpl
Defined at line 6273 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/wire_messaging.h
Public Methods
::fidl::OneWayStatus AddPayloadBuffer (uint32_t id, ::zx::vmo && payload_buffer)
Adds a payload buffer to the current buffer set associated with the
connection. A `StreamPacket` struct reference a payload buffer in the
current set by ID using the `StreamPacket.payload_buffer_id` field.
A buffer with ID `id` must not be in the current set when this method is
invoked, otherwise the service will close the connection.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::OneWayStatus RemovePayloadBuffer (uint32_t id)
Removes a payload buffer from the current buffer set associated with the
connection.
A buffer with ID `id` must exist in the current set when this method is
invoked, otherwise the service will will close the connection.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::fuchsia_media::SimpleStreamSink::SendPacket> SendPacket (const ::fuchsia_media::wire::StreamPacket & packet)
Sends a packet to the service. The response is sent when the service is
done with the associated payload memory.
`packet` must be valid for the current buffer set, otherwise the service
will close the connection.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::OneWayStatus SendPacketNoReply (const ::fuchsia_media::wire::StreamPacket & packet)
Sends a packet to the service. This interface doesn't define how the
client knows when the sink is done with the associated payload memory.
The inheriting interface must define that.
`packet` must be valid for the current buffer set, otherwise the service
will close the connection.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::OneWayStatus EndOfStream ()
Indicates the stream has ended. The precise semantics of this method are
determined by the inheriting interface.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::fuchsia_media::SimpleStreamSink::DiscardAllPackets> DiscardAllPackets ()
Discards packets previously sent via `SendPacket` or `SendPacketNoReply`
and not yet released. The response is sent after all packets have been
released.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::OneWayStatus DiscardAllPacketsNoReply ()
Discards packets previously sent via `SendPacket` or `SendPacketNoReply`
and not yet released.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.