template <>
class WireSyncClientImpl
Defined at line 5210 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/wire_messaging.h
Methods to make a sync FIDL call directly on an unowned handle or a
const reference to a |::fidl::ClientEnd
<
::fuchsia_media::StreamSink>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_media::StreamSink::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.
Allocates 88 bytes of message buffer on the stack. No heap allocation necessary.
::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.
Allocates 88 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::OneWayStatus EndOfStream ()
Indicates the stream has ended. The precise semantics of this method are
determined by the inheriting interface.
Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_media::StreamSink::DiscardAllPackets> DiscardAllPackets ()
Discards packets previously sent via `SendPacket` or `SendPacketNoReply`
and not yet released. The response is sent after all packets have been
released.
Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::OneWayStatus DiscardAllPacketsNoReply ()
Discards packets previously sent via `SendPacket` or `SendPacketNoReply`
and not yet released.
Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.