class MapperSession
Defined at line 6222 of file fidling/gen/sdk/fidl/fuchsia.storage.block/fuchsia.storage.block/hlcpp/fuchsia/storage/block/cpp/fidl.h
Represents an active driver mapping session.
Public Methods
void ~MapperSession ()
void Close (CloseCallback callback)
Terminates the connection.
After calling `Close`, the client must not send any other requests.
Servers, after sending the status response, should close the connection
regardless of status and without sending an epitaph.
Closing the client end of the channel should be semantically equivalent
to calling `Close` without knowing when the close has completed or its
status.
void CreateVmo (uint64_tkey,uint64_tsize,::fuchsia::storage::block::CreateVmoOptionsoptions,CreateVmoCallbackcallback)
Creates a pager-backed VMO of `size` bytes associated with `key`.
Page faults on this VMO are handled directly by the driver mapper.
void OpenChildSession (::fidl::InterfaceRequest< ::fuchsia::storage::block::MapperSession>session,::zx::vmomapping_vmo,uint64_tparent_key,::zx::portport,::zx::vmodelivery_queue,OpenChildSessionCallbackcallback)
Opens a child mapper session whose reads map through `parent_key` in the parent session.
When a parent session is closed, all child sessions opened from it are closed as well.
Protected Methods
void handle_unknown_method (uint64_t ordinal, bool method_has_response)
Friends
class MapperSession_Stub