<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>IDs and Addresses on sillysky.net</title>
    <link>https://sillysky.net/docs/nyssr/ids-and-addresses/</link>
    <description>Recent content in IDs and Addresses on sillysky.net</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Tue, 14 Oct 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sillysky.net/docs/nyssr/ids-and-addresses/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>CIdFactory</title>
      <link>https://sillysky.net/docs/nyssr/ids-and-addresses/cidfactory/</link>
      <pubDate>Tue, 14 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/ids-and-addresses/cidfactory/</guid>
      <description>We use a factory to create IDs. The reason for this is the possibility to introduce additional ID types. The CIdFactory is therefore also a registry for factories of type IIdFactory.&#xA;We have not designed the CIdFactory as a service, because in the code many static IDs are defined.&#xA;Create an ID The simplest method is to create IDs from an integer, from a string or from a UUID:&#xA;@NotNull public static IId fromObject(@Nullable final Object aId); Beispiele:</description>
    </item>
    <item>
      <title>CNamespaceAddress</title>
      <link>https://sillysky.net/docs/nyssr/ids-and-addresses/cnamespaceaddress/</link>
      <pubDate>Tue, 14 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/ids-and-addresses/cnamespaceaddress/</guid>
      <description>The namespace address is the address of a namespace. It consists of a node address to identify the node and a namespace ID. In string form, the address is structured like this: &amp;quot;nid.nodeId.segmentId&amp;quot;.&#xA;Constructors The default constructor creates an invalid address.&#xA;final CNamespaceAddress a = new CNamespaceAddress(); There is a constructor that takes a namespace ID and creates a local address. The node address remains empty. Empty or invalid node addresses are considered local addresses.</description>
    </item>
    <item>
      <title>CNodeAddress</title>
      <link>https://sillysky.net/docs/nyssr/ids-and-addresses/cnodeaddress/</link>
      <pubDate>Tue, 14 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/ids-and-addresses/cnodeaddress/</guid>
      <description>The node address is the rear half of a target address, consisting of NodeId and SegmentId. The node address can be used to identify a node precisely.&#xA;Constructors and static factory methods The default constructor is used to create the local node address, i.e. the address, which belongs to the own node.&#xA;final CNodeAddress n = new CNodeAddress(); An invalid or empty node address is created with the constructor, which takes a Boolean.</description>
    </item>
    <item>
      <title>CNodeId</title>
      <link>https://sillysky.net/docs/nyssr/ids-and-addresses/nodeid/</link>
      <pubDate>Tue, 14 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/ids-and-addresses/nodeid/</guid>
      <description>The NodeId has its own class CNodeId , which is derived from the IId. It is unique in a segment and can be freely assigned.&#xA;Empty NodeId There is a public EMPTY field, which is an invalid NodeId .&#xA;Constructors The default constructor creates an invalid ID.&#xA;public CNodeId(); A NodeId can be made from a normal ID.&#xA;public CNodeId(@NotNull final IId aId); Probably the most used is the constructor, which takes a string.</description>
    </item>
    <item>
      <title>CSegmentId</title>
      <link>https://sillysky.net/docs/nyssr/ids-and-addresses/csegmentid/</link>
      <pubDate>Tue, 14 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/ids-and-addresses/csegmentid/</guid>
      <description>A Segment is a group of Nodes with the same ID. The SegmentId has its own class CSegmentId , which is derived from the IId.&#xA;Empty SegmentId There is a public EMPTY field, which is an invalid SegmentId .&#xA;Constructors The default constructor creates an invalid SegmentID .&#xA;public CSegmentId(); A SegmentId can be made from a normal ID.&#xA;public CSegmentId(@NotNull final IId aId); Probably the most used is the constructor, which takes a string.</description>
    </item>
    <item>
      <title>CTargetAddress</title>
      <link>https://sillysky.net/docs/nyssr/ids-and-addresses/ctargetaddress/</link>
      <pubDate>Tue, 14 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/ids-and-addresses/ctargetaddress/</guid>
      <description>The target address is assigned to a target when it has been successfully registered with the target registry. The target address is composed of a target ID (unique for a namespace) and the namespace address.&#xA;Constructors First follows a constructor with the passing of all four components:&#xA;public CTargetAddress(@NotNull final IId aTargetID, @NotNull final IId aNamespaceID, @NotNull final CNodeId aNodeId, @NotNull final CSegmentId aSegmentId); The SegmentId remains empty here. An empty NodeId or SegmentId is equivalent to specifying a local ID.</description>
    </item>
    <item>
      <title>IIdFactory</title>
      <link>https://sillysky.net/docs/nyssr/ids-and-addresses/iidfactory/</link>
      <pubDate>Tue, 14 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/ids-and-addresses/iidfactory/</guid>
      <description>The IIdFactory serves as a factory for classes that implement the IId interface. Currently, 4 different IDs are implemented:&#xA;the Integer ID for positive integer the String ID the UUID ID the empty ID You can write your own custom ID classes.&#xA;Create an ID The factory must be able to create an ID from a Java object:&#xA;@Nullable IId fromObject(@Nullable Object aObj); Creation of a random value The factory should be able to create a random ID:</description>
    </item>
    <item>
      <title>The Namespace ID (NID)</title>
      <link>https://sillysky.net/docs/nyssr/ids-and-addresses/nid/</link>
      <pubDate>Tue, 14 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/ids-and-addresses/nid/</guid>
      <description>The namespace ID is of type ID and unique to a namespace within a node.&#xA;The CWellKnownNID class In the CWellKnownNID class, many namespace IDs are defined that are used by supplied plugins.</description>
    </item>
    <item>
      <title>The Target ID (TID)</title>
      <link>https://sillysky.net/docs/nyssr/ids-and-addresses/tid/</link>
      <pubDate>Tue, 14 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/ids-and-addresses/tid/</guid>
      <description>Each target (object that can receive messages) receives an ID during registration. The target ID (short: TID) is of type ID and is unique for a target within a namespace. The same TID can exist again in other namespaces. This is used when loading multiple instances of apps.&#xA;If no TID is given when registering the target, then a &amp;quot;random&amp;quot; numeric TID is generated. This is the normal case.&#xA;If a TID is given, it will be used if no target with this ID has been registered in this namespace yet.</description>
    </item>
  </channel>
</rss>
