template <>
class WireSyncClientImpl
Defined at line 739 of file fidling/gen/sdk/fidl/fuchsia.hardware.ramdisk/fuchsia.hardware.ramdisk/cpp/fidl/fuchsia.hardware.ramdisk/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_hardware_ramdisk::Ramdisk>|,
avoiding setting up a client.
Public Methods
::fidl::WireResult< ::fuchsia_hardware_ramdisk::Ramdisk::SetFlags> SetFlags (::fuchsia_hardware_ramdisk::wire::RamdiskFlag flags)
Sets any of the `RAMDISK_FLAG_*` flags.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_ramdisk::Ramdisk::Wake> Wake ()
Wakes a ramdisk, if it was sleeping.
Resets the block counts being stored by the ramdisk.
Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_ramdisk::Ramdisk::SleepAfter> SleepAfter (uint64_t count)
Causes the ramdisk to sleep after `count` blocks are written successfully.
After `count` blocks are written, requests either wait for the ramdisk to
be awoken (if RESUME_ON_WAKE has been set), or begin failing immediately.
Resets the block counts being stored by the ramdisk.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_hardware_ramdisk::Ramdisk::GetBlockCounts> GetBlockCounts ()
Returns the number of write requests since the last call to either
"SleepAfter" or "Wake".
Allocates 56 bytes of message buffer on the stack. No heap allocation necessary.