class Publisher

Defined at line 29 of file ../../zircon/system/ulib/debugdata/include/lib/debugdata/debugdata.h

Publisher implements the |fuchsia.debugdata.Publisher| protocol. When a VMO

is ready for processing it invokes the |vmo_callback| function.

Publisher is not thread safe.

Public Methods

void Publisher (async_dispatcher_t * dispatcher, fbl::unique_fd root_dir_fd, VmoHandler vmo_callback)

Defined at line 26 of file ../../zircon/system/ulib/debugdata/debugdata.cc

void Publish (PublishRequestView request, PublishCompleter::Sync & completer)

Defined at line 32 of file ../../zircon/system/ulib/debugdata/debugdata.cc

void ~Publisher ()

Defined at line 36 of file ../../zircon/system/ulib/debugdata/include/lib/debugdata/debugdata.h

void DrainData ()

Invoke |vmo_callback| on any outstanding VMOs, without waiting for the signal indicating the

VMO is ready.

Defined at line 52 of file ../../zircon/system/ulib/debugdata/debugdata.cc

void Bind (fidl::ServerEnd<fuchsia_debugdata::Publisher> server_end, async_dispatcher_t * dispatcher)

Bind Publisher service using provided dispatcher.

Defined at line 60 of file ../../zircon/system/ulib/debugdata/debugdata.cc