class BlockServer
Defined at line 130 of file ../../src/storage/lib/block_server/block_server.h
Public Methods
void BlockServer (const PartitionInfo & , Interface * )
Constructs a new server.
Defined at line 15 of file ../../src/storage/lib/block_server/block_server.cc
void BlockServer (BlockServer && )
Defined at line 60 of file ../../src/storage/lib/block_server/block_server.cc
void ~BlockServer ()
Destroys the server. This will trigger termination and then block until:
1. `Thread::Run()` returns.
2. All `Session` objects have been destroyed i.e. `Session::Run` has returned
*and* `Session` has been destroyed.
Once this returns, there will be no subsequent calls via `Interface`.
Defined at line 66 of file ../../src/storage/lib/block_server/block_server.cc
void Serve (fidl::ServerEnd<fuchsia_storage_block::Block> )
Serves a new connection. The FIDL handling is multiplexed onto a single per-server thread.
Defined at line 72 of file ../../src/storage/lib/block_server/block_server.cc
void SendReply (RequestId , zx::result<> )
Defined at line 76 of file ../../src/storage/lib/block_server/block_server.cc
void BlockServer (const BlockServer & )
Defined at line 134 of file ../../src/storage/lib/block_server/block_server.h
BlockServer & operator= (const BlockServer & )
Defined at line 135 of file ../../src/storage/lib/block_server/block_server.h
BlockServer & operator= (BlockServer && )
Defined at line 137 of file ../../src/storage/lib/block_server/block_server.h
template <typename Callback>
void DestroyAsync (Callback callback)
Destroys the server asynchronously and calls `callback` when complete.
Defined at line 150 of file ../../src/storage/lib/block_server/block_server.h