<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Timer on sillysky.net</title>
    <link>https://sillysky.net/docs/nyssr/timer/</link>
    <description>Recent content in Timer on sillysky.net</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Wed, 15 Oct 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sillysky.net/docs/nyssr/timer/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>CTimer</title>
      <link>https://sillysky.net/docs/nyssr/timer/ctimer/</link>
      <pubDate>Wed, 15 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/timer/ctimer/</guid>
      <description>The CTimer class is a helper class for using timers.&#xA;Constructor The constructor expects the same arguments as the method to start a timer, plus the reference to the timer manager.&#xA;These are&#xA;a record ID to identify the message a target address for which target the message is to be received a timeout in milliseconds (when does the message arrive) a flag whether the message should be repeated an optional record for payload data public CTimer(@NotNull final ITimerManager aManager, @NotNull final IId aId, @NotNull final CTargetAddress aAddress, final long aDelay, final boolean aRepeat, @Nullable final CRecord aTemplate) This does not start the timer yet, it only saves the timer data.</description>
    </item>
    <item>
      <title>ITimerManager</title>
      <link>https://sillysky.net/docs/nyssr/timer/itimermanager/</link>
      <pubDate>Wed, 15 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/timer/itimermanager/</guid>
      <description>The timer manager takes care of the management of the current timers. Timers in nyssr.net are messages that are sent to their target after a certain time.&#xA;Get the timer manager The manager is fetched as a singleton from the service registry:&#xA;final ITimerManager tm = CServiceRegistry.getInstance() .getService(ITimerManager.class); As always, make sure that the service starter of your package has a dependency on the ITimerManager to ensure that the service already exists.</description>
    </item>
  </channel>
</rss>
