template <>
class WireWeakAsyncClientImpl
Defined at line 3431 of file fidling/gen/src/lib/fake-clock/fidl/fidl/cpp/fidl/fuchsia.testing/cpp/wire_messaging.h
Public Methods
::fidl::internal::WireThenable< ::fuchsia_testing::FakeClock::Get> Get ()
Gets the current time.
Allocates 16 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::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 32 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::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 32 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::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 24 bytes of request buffer on the stack. The callback is stored on the heap.
::fidl::internal::WireThenable< ::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.
The request and callback are allocated on the heap.
::fidl::internal::WireThenable< ::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.
The request and callback are allocated on the heap.