template <>

class WireWeakAsyncClientImpl

Defined at line 2360 of file fidling/gen/sdk/fidl/fuchsia.hardware.ramdisk/fuchsia.hardware.ramdisk/cpp/fidl/fuchsia.hardware.ramdisk/cpp/wire_messaging.h

Public Methods

::fidl::internal::WireThenable< ::fuchsia_hardware_ramdisk::Ramdisk::SetFlags> SetFlags (::fuchsia_hardware_ramdisk::wire::RamdiskFlag flags)

Sets any of the `RAMDISK_FLAG_*` flags.

Allocates 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_hardware_ramdisk::Ramdisk::Wake> Wake ()

Wakes a ramdisk, if it was sleeping.

Resets the block counts being stored by the ramdisk.

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::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 24 bytes of request buffer on the stack. The callback is stored on the heap.

::fidl::internal::WireThenable< ::fuchsia_hardware_ramdisk::Ramdisk::GetBlockCounts> GetBlockCounts ()

Returns the number of write requests since the last call to either

"SleepAfter" or "Wake".

Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.