template <>
class WireWeakOnewayClientImpl
Defined at line 5833 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/cpp/fidl/fuchsia.storage.block/cpp/wire_messaging.h
Public Methods
::fidl::OneWayStatus OpenSession (::fidl::ServerEnd< ::fuchsia_storage_block::Session> && session)
Opens a new FIFO-based session on the block device.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::OneWayStatus OpenSessionWithOffsetMap (::fidl::ServerEnd< ::fuchsia_storage_block::Session> && session, const ::fuchsia_storage_block::wire::BlockOffsetMapping & mapping)
Opens a new FIFO-based session on the block device, providing a mapping which is
transparently applied to device offsets in block FIFO requests.
This interface is intended to be used internally between nested Block implementations, in
order to provide passthrough I/O. For example, a fixed partition map (e.g. GPT) will serve
a Block protocol for each partition, and will respond to OpenSession requests by calling
OpenSessionWithOffsetMap on the underlying block device, establishing itself as the source
for translating client block offsets (relative to the partition start) to absolute offsets.
The client can then communicate directly with the underlying block device, and the partition
offsets can be transparently applied to requests.
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.