template <>
class WireWeakSyncClientImpl
Defined at line 3556 of file fidling/gen/src/lib/fake-clock/fidl/fidl/cpp/fidl/fuchsia.testing/cpp/wire_messaging.h
Public Methods
::fidl::WireResult< ::fuchsia_testing::FakeClock::Get> Get ()
Gets the current time.
Allocates 48 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_testing::FakeClock::RescheduleEventInMonotonic> RescheduleEventInMonotonic (::zx::eventpair && event, ::fidl::basic_time<((zx_clock_t)0)> time)
Reschedules an event to be signalled with `ZX_EVENTPAIR_SIGNALED` at the new deadline in
`time` on the monotonic clock.
`event` is a duplicate of the client-side of the event pair, and it's used to retrieve the
originally registered event through its kernel object identifier.
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_testing::FakeClock::RescheduleEventInBoot> RescheduleEventInBoot (::zx::eventpair && event, ::fidl::basic_time<((zx_clock_t)1)> time)
Reschedules an event to be signalled with `ZX_EVENTPAIR_SIGNALED` at the new deadline in
`time` on the boot clock.
`event` is a duplicate of the client-side of the event pair, and it's used to retrieve the
originally registered event through its kernel object identifier.
Allocates 64 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_testing::FakeClock::CancelEvent> CancelEvent (::zx::eventpair && event)
Cancels a previously registered event.
`event` is a duplicate of the client-side of the event pair, and it's used to retrieve the
originally registered event through its kernel object identifier.
Allocates 40 bytes of message buffer on the stack. No heap allocation necessary.
::fidl::WireResult< ::fuchsia_testing::FakeClock::CreateNamedDeadlineInMonotonic> CreateNamedDeadlineInMonotonic (const ::fuchsia_testing_deadline::wire::DeadlineId & id, int64_t duration)
Calculate and set a deadline associated with an id on the monotonic clock.
The returned `deadline` is calculated as `duration` after the current fake time.
FakeClock emits two events: A `SET` event immediately, and an `EXPIRED` event when the
deadline expires. A test using `FakeClockControl` may reference events related to the
deadline using a matching `id`. See `FakeClockControl.SetStopPoint` for information on how a
test can wait for a deadline event.
Allocates 24 bytes of response buffer on the stack. Request is heap-allocated.
::fidl::WireResult< ::fuchsia_testing::FakeClock::CreateNamedDeadlineInBoot> CreateNamedDeadlineInBoot (const ::fuchsia_testing_deadline::wire::DeadlineId & id, int64_t duration)
Calculate and set a deadline associated with an id on the boot clock.
The returned `deadline` is calculated as `duration` after the current fake time.
FakeClock emits two events: A `SET` event immediately, and an `EXPIRED` event when the
deadline expires. A test using `FakeClockControl` may reference events related to the
deadline using a matching `id`. See `FakeClockControl.SetStopPoint` for information on how a
test can wait for a deadline event.
Allocates 24 bytes of response buffer on the stack. Request is heap-allocated.