class LifecycleOnEscrowRequest
Defined at line 75 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/cpp/fidl/fuchsia.process.lifecycle/cpp/wire_types.h
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_process_lifecycle::wire::LifecycleOnEscrowRequest> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_process_lifecycle::wire::LifecycleOnEscrowRequest> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_process_lifecycle::wire::LifecycleOnEscrowRequest>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_process_lifecycle::wire::LifecycleOnEscrowRequest>> && frame_ptr)
void LifecycleOnEscrowRequest ()
Defined at line 77 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/cpp/fidl/fuchsia.process.lifecycle/cpp/wire_types.h
void LifecycleOnEscrowRequest (LifecycleOnEscrowRequest && other)
Defined at line 80 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/cpp/fidl/fuchsia.process.lifecycle/cpp/wire_types.h
void _CloseHandles ()
LifecycleOnEscrowRequest & operator= (LifecycleOnEscrowRequest && other)
Defined at line 81 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/cpp/fidl/fuchsia.process.lifecycle/cpp/wire_types.h
::fidl::ServerEnd< ::fuchsia_io::Directory> & outgoing_dir ()
Escrow the outgoing directory server endpoint. Whenever the
component is started again, this will be returned as the
`PA_DIRECTORY_REQUEST` processargs entry.
bool has_outgoing_dir ()
bool has_escrowed_dictionary ()
::zx::eventpair & escrowed_dictionary_handle ()
Escrow some user defined state. Whenever the component is started
again, this will be returned as the `PA_ESCROWED_DICTIONARY`
processargs entry.
The framework will not wait for any signals on these objects.
## Example
Let's say a component needs to escrow an event pair that represents
the result of some expensive calculation. It can create a
dictionary, put the event pair inside with an appropriate key
(e.g. `"my_event_pair"`), then check for that entry on startup.
bool has_escrowed_dictionary_handle ()
LifecycleOnEscrowRequest & operator= (const LifecycleOnEscrowRequest & other)
Defined at line 79 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/cpp/fidl/fuchsia.process.lifecycle/cpp/wire_types.h
LifecycleOnEscrowRequest & set_outgoing_dir (::fidl::ServerEnd< ::fuchsia_io::Directory> elem)
LifecycleOnEscrowRequest & clear_outgoing_dir ()
LifecycleOnEscrowRequest & set_escrowed_dictionary (::fuchsia_component_sandbox::wire::DictionaryRef elem)
LifecycleOnEscrowRequest & clear_escrowed_dictionary ()
LifecycleOnEscrowRequest & set_escrowed_dictionary_handle (::zx::eventpair elem)
LifecycleOnEscrowRequest & clear_escrowed_dictionary_handle ()
void LifecycleOnEscrowRequest (::fidl::AnyArena & allocator)
void LifecycleOnEscrowRequest (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_process_lifecycle::wire::LifecycleOnEscrowRequest>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void LifecycleOnEscrowRequest (const LifecycleOnEscrowRequest & other)
Defined at line 78 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/cpp/fidl/fuchsia.process.lifecycle/cpp/wire_types.h
::fuchsia_component_sandbox::wire::DictionaryRef & escrowed_dictionary ()
Escrow some user defined state. Whenever the component is started
again, this will be returned as the `PA_ESCROWED_DICTIONARY`
processargs entry.
The framework will not wait for any signals on these objects.
## Example
Let's say a component needs to escrow an event pair that represents
the result of some expensive calculation. It can create a
dictionary, put the event pair inside with an appropriate key
(e.g. `"my_event_pair"`), then check for that entry on startup.
Note that this is deprecated, please use
`escrowed_dictionary_handle` instead.
void ~LifecycleOnEscrowRequest ()
Defined at line 83 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/cpp/fidl/fuchsia.process.lifecycle/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder