<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Targets on sillysky.net</title>
    <link>https://sillysky.net/docs/nyssr/namespaces/targets/</link>
    <description>Recent content in Targets on sillysky.net</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 14 Oct 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sillysky.net/docs/nyssr/namespaces/targets/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>ITarget</title>
      <link>https://sillysky.net/docs/nyssr/namespaces/targets/itarget/</link>
      <pubDate>Tue, 14 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/namespaces/targets/itarget/</guid>
      <description>&lt;p&gt;To receive &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/cmessage/&#34;&gt;messages&lt;/a&gt; in an object, it must implement the ITarget&#xA;interface and be registered to the &lt;a href=&#34;https://sillysky.net/docs/nyssr/namespaces/targets/itargetregistry/&#34;&gt;target registry&lt;/a&gt; of the thread.&lt;/p&gt;&#xA;&lt;p&gt;The ITarget interface is quite extensive. However, since the target is usually&#xA;derived from &lt;a href=&#34;https://sillysky.net/docs/nyssr/namespaces/targets/ctarget/&#34;&gt;CTarget&lt;/a&gt;, these methods are already implemented by&#xA;&lt;a href=&#34;https://sillysky.net/docs/nyssr/namespaces/targets/ctarget/&#34;&gt;CTarget&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;handling-messages&#34;&gt;Handling messages&lt;/h2&gt;&#xA;&lt;p&gt;This method handles all &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/cmessage/&#34;&gt;messages&lt;/a&gt; directed to the target. CTarget&#xA;implements this method by passing the incoming message to a &lt;a href=&#34;https://sillysky.net/docs/nyssr/namespaces/targets/ctarget/imessagehandlerregistry/&#34;&gt;message handler registry&lt;/a&gt; that belongs to the target. Therefore, it is&#xA;sufficient to register a separate &lt;a href=&#34;https://sillysky.net/docs/nyssr/namespaces/targets/ctarget/imessagehandler/&#34;&gt;message handler&lt;/a&gt; for all messages&#xA;to be handled.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
