template <>
class WireSyncBufferClientImpl
Defined at line 1468 of file fidling/gen/src/lib/fake-clock/fidl/fidl/cpp/fidl/fuchsia.testing/cpp/wire_messaging.h
Public Methods
::fidl::WireUnownedResult< ::fuchsia_testing::FakeClock::Get> Get ()
Gets the current time.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::OneWayStatus RegisterEventInMonotonic (::zx::eventpair && event, ::fidl::basic_time<((zx_clock_t)0)> time)
Registers the event handle `event` to be signaled with `ZX_EVENTPAIR_SIGNALED` when the
provided `time` is reached by the fake monotonic clock.
The `FakeClock` instance will retain this event (even after it's fired) for as long as the
client-side of the provided event pair `event` is open.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::OneWayStatus RegisterEventInBoot (::zx::eventpair && event, ::fidl::basic_time<((zx_clock_t)1)> time)
Registers the event handle `event` to be signaled with `ZX_EVENTPAIR_SIGNALED` when the
provided `time` is reached by the fake boot clock.
The `FakeClock` instance will retain this event (even after it's fired) for as long as the
client-side of the provided event pair `event` is open.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.
::fidl::WireUnownedResult< ::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.
Caller provides the backing storage for FIDL message via an argument to `.buffer()`.