template <>

class WireSyncClientImpl

Defined at line 400 of file fidling/gen/sdk/fidl/fuchsia.exception/fuchsia.exception/cpp/fidl/fuchsia.exception/cpp/wire_messaging.h

Methods to make a sync FIDL call directly on an unowned handle or a

const reference to a |::fidl::ClientEnd

<

::fuchsia_exception::Handler>|,

avoiding setting up a client.

Public Methods

::fidl::WireResult< ::fuchsia_exception::Handler::IsActive> IsActive ()

Requests the exception handler to send a signal indicating the server is

active and able to respond to requests.

It's recommended clients call IsActive and wait for a response before

sending an exception to the server with OnException because a

zx.Handle:EXCEPTION can't be released by the client once it's sent

across the channel.

Note: a response guarantees the server was active when it sent the

response, but doesn't preclcude the server being unresponsive after the

reply was sent.

Allocates 32 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_exception::Handler::OnException> OnException (::zx::exception && exception, const ::fuchsia_exception::wire::ExceptionInfo & info)

This exception mirrors closely the information provided by exception

channels. The design is to have clients of this API behave as closely as

possible to native exception handlers that are listening to an exception

channel.

`exception` is an exception handle, which controls the exception's

lifetime. See exception zircon docs for more information.

`info` represents basic exception information as provided by the

exception channel.

Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.