class LifecycleOnEscrowRequest

Defined at line 31 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/hlcpp/fuchsia/process/lifecycle/cpp/fidl.h

Domain objects declarations

Public Members

static const fidl_type_t * FidlType

Public Methods

bool IsEmpty ()

Returns whether no field is set.

LifecycleOnEscrowRequest & set_outgoing_dir (::fidl::InterfaceRequest< ::fuchsia::io::Directory> _value)
LifecycleOnEscrowRequest & set_escrowed_dictionary (::fuchsia::component::sandbox::DictionaryRef _value)
LifecycleOnEscrowRequest & set_escrowed_dictionary_handle (::zx::eventpair _value)
void LifecycleOnEscrowRequest ()
void LifecycleOnEscrowRequest (LifecycleOnEscrowRequest && other)
void ~LifecycleOnEscrowRequest ()
LifecycleOnEscrowRequest & operator= (LifecycleOnEscrowRequest && other)
::std::unique_ptr<LifecycleOnEscrowRequest> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, LifecycleOnEscrowRequest * _value, size_t _offset)
zx_status_t Clone (LifecycleOnEscrowRequest * _result)
const ::fidl::InterfaceRequest< ::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.

Defined at line 40 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/hlcpp/fuchsia/process/lifecycle/cpp/fidl.h

bool has_outgoing_dir ()

Defined at line 44 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/hlcpp/fuchsia/process/lifecycle/cpp/fidl.h

::fidl::InterfaceRequest< ::fuchsia::io::Directory> * mutable_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.

Defined at line 51 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/hlcpp/fuchsia/process/lifecycle/cpp/fidl.h

void clear_outgoing_dir ()

Defined at line 59 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/hlcpp/fuchsia/process/lifecycle/cpp/fidl.h

const ::fuchsia::component::sandbox::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.

Defined at line 81 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/hlcpp/fuchsia/process/lifecycle/cpp/fidl.h

bool has_escrowed_dictionary ()

Defined at line 85 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/hlcpp/fuchsia/process/lifecycle/cpp/fidl.h

::fuchsia::component::sandbox::DictionaryRef * mutable_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.

Defined at line 103 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/hlcpp/fuchsia/process/lifecycle/cpp/fidl.h

void clear_escrowed_dictionary ()

Defined at line 111 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/hlcpp/fuchsia/process/lifecycle/cpp/fidl.h

const ::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.

Defined at line 131 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/hlcpp/fuchsia/process/lifecycle/cpp/fidl.h

bool has_escrowed_dictionary_handle ()

Defined at line 135 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/hlcpp/fuchsia/process/lifecycle/cpp/fidl.h

::zx::eventpair * mutable_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.

Defined at line 151 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/hlcpp/fuchsia/process/lifecycle/cpp/fidl.h

void clear_escrowed_dictionary_handle ()

Defined at line 159 of file fidling/gen/sdk/fidl/fuchsia.process.lifecycle/fuchsia.process.lifecycle/hlcpp/fuchsia/process/lifecycle/cpp/fidl.h