<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Console Records on sillysky.net</title>
    <link>https://sillysky.net/docs/nyssr/records/console-records/</link>
    <description>Recent content in Console Records on sillysky.net</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Tue, 09 Dec 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sillysky.net/docs/nyssr/records/console-records/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>CRecordCliAddHandler</title>
      <link>https://sillysky.net/docs/nyssr/records/console-records/crecordcliaddhandler/</link>
      <pubDate>Tue, 09 Dec 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/records/console-records/crecordcliaddhandler/</guid>
      <description>&lt;p&gt;The message adds a handler for one or more console commands. When the user&#xA;enters these commands, a message containing the input is sent to the&#xA;registered handler. In response, the handler sends back a text that is&#xA;displayed on the console.&lt;/p&gt;&#xA;&lt;p&gt;This message is part of the &lt;a href=&#34;https://sillysky.net/docs/nyssr/records/console-records/&#34;&gt;console API&lt;/a&gt;. It is a&#xA;&lt;a href=&#34;https://sillysky.net/docs/nyssr/namespaces/nanoservices/&#34;&gt;nanoservice&lt;/a&gt; in the &lt;code&gt;SYSTEM&lt;/code&gt; namespace.&lt;/p&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-json&#34;&gt;{&#xA;  &#34;id&#34;: &#34;3eaa3a56-5a84-4f11-b2fc-62da19141013&#34;,&#xA;  &#34;name&#34;: &#34;CLI_ADD_HANDLER&#34;,&#xA;  &#34;isNanoService&#34;: &#34;true&#34;,&#xA;  &#34;namespaces&#34;: &#34;SYSTEM&#34;,&#xA;  &#34;description&#34;: &#34;Add a Command Handler.&#34;,&#xA;  &#34;slots&#34;: [&#xA;    {&#xA;      &#34;key&#34;: &#34;1&#34;,&#xA;      &#34;name&#34;: &#34;COMMAND&#34;,&#xA;      &#34;direction&#34;: &#34;REQUEST&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;MANDATORY&#34;,&#xA;      &#34;type&#34;: &#34;STRING_ARRAY&#34;,&#xA;      &#34;description&#34;: &#34;The commands.&#34;&#xA;    },&#xA;    {&#xA;      &#34;key&#34;: &#34;2&#34;,&#xA;      &#34;name&#34;: &#34;HELP&#34;,&#xA;      &#34;direction&#34;: &#34;REQUEST&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;MANDATORY&#34;,&#xA;      &#34;type&#34;: &#34;STRING_ARRAY&#34;,&#xA;      &#34;description&#34;: &#34;The help texts.&#34;&#xA;    }&#xA;  ]&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2 id=&#34;arguments&#34;&gt;Arguments&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;COMMAND&lt;/code&gt; is the command for which a handler should be registered. Multiple commands can be registered simultaneously; therefore, the argument is a string array.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;HELP&lt;/code&gt; is a help text that is displayed for the command when &amp;quot;?&amp;quot; or &amp;quot;help&amp;quot; is entered on the command line. Multiple commands can be registered simultaneously; therefore, the argument is a string array.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The handler itself is identified by the sender address of the message.&lt;/p&gt;</description>
    </item>
    <item>
      <title>CRecordCliGetHelp</title>
      <link>https://sillysky.net/docs/nyssr/records/console-records/crecordcligethelp/</link>
      <pubDate>Tue, 09 Dec 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/records/console-records/crecordcligethelp/</guid>
      <description>&lt;p&gt;This message is sent from the console display target to the console service to&#xA;obtain help output for the registered commands.&lt;/p&gt;&#xA;&lt;p&gt;The message is part of the &lt;a href=&#34;https://sillysky.net/docs/nyssr/records/console-records/&#34;&gt;console API&lt;/a&gt;. It is a&#xA;&lt;a href=&#34;https://sillysky.net/docs/nyssr/namespaces/nanoservices/&#34;&gt;nanoservice&lt;/a&gt; in the &lt;code&gt;SYSTEM&lt;/code&gt; namespace.&lt;/p&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-json&#34;&gt;{&#xA;  &#34;id&#34;: &#34;a53b0278-48e1-48b1-9220-8cc1a4d73197&#34;,&#xA;  &#34;name&#34;: &#34;CLI_GET_HELP&#34;,&#xA;  &#34;description&#34;: &#34;Get the local help output.&#34;,&#xA;  &#34;slots&#34;: [&#xA;    {&#xA;      &#34;key&#34;: &#34;1&#34;,&#xA;      &#34;name&#34;: &#34;HELP&#34;,&#xA;      &#34;direction&#34;: &#34;RESPONSE&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;OPTIONAL&#34;,&#xA;      &#34;type&#34;: &#34;STRING&#34;,&#xA;      &#34;description&#34;: &#34;The help for the local command line.&#34;&#xA;    }&#xA;  ]&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2 id=&#34;arguments&#34;&gt;Arguments&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;HELP&lt;/code&gt; is the response from the console service. It is a help text for each registered command.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;usage&#34;&gt;Usage&lt;/h2&gt;&#xA;&lt;p&gt;Sending a request when you already have the address of the desired command&#xA;service:&lt;/p&gt;</description>
    </item>
    <item>
      <title>CRecordCliHandle</title>
      <link>https://sillysky.net/docs/nyssr/records/console-records/crecordclihandle/</link>
      <pubDate>Tue, 09 Dec 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/records/console-records/crecordclihandle/</guid>
      <description>&lt;p&gt;This message is sent to registered console handlers when the user enters a&#xA;registered command in the console. The message includes the command and any&#xA;parameters entered. The response to this message should contain the text to be&#xA;displayed on the console.&lt;/p&gt;&#xA;&lt;p&gt;The message is part of the &lt;a href=&#34;https://sillysky.net/docs/nyssr/records/console-records/&#34;&gt;console API&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-json&#34;&gt;{&#xA;  &#34;id&#34;: &#34;d9c9e057-b172-40a5-8ae0-23d51e226321&#34;,&#xA;  &#34;name&#34;: &#34;CLI_HANDLE&#34;,&#xA;  &#34;description&#34;: &#34;Forward the command line to the command line manager.&#34;,&#xA;  &#34;slots&#34;: [&#xA;    {&#xA;      &#34;key&#34;: &#34;1&#34;,&#xA;      &#34;name&#34;: &#34;COMMAND_LINE&#34;,&#xA;      &#34;direction&#34;: &#34;REQUEST&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;MANDATORY&#34;,&#xA;      &#34;type&#34;: &#34;STRING&#34;,&#xA;      &#34;description&#34;: &#34;The command line.&#34;&#xA;    },&#xA;    {&#xA;      &#34;key&#34;: &#34;2&#34;,&#xA;      &#34;name&#34;: &#34;DISPLAY&#34;,&#xA;      &#34;direction&#34;: &#34;REQUEST&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;MANDATORY&#34;,&#xA;      &#34;type&#34;: &#34;TARGET_ADDRESS&#34;,&#xA;      &#34;description&#34;: &#34;The target address of the display.&#34;&#xA;    },&#xA;    {&#xA;      &#34;key&#34;: &#34;3&#34;,&#xA;      &#34;name&#34;: &#34;COMMAND&#34;,&#xA;      &#34;direction&#34;: &#34;REQUEST&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;MANDATORY&#34;,&#xA;      &#34;type&#34;: &#34;STRING&#34;,&#xA;      &#34;description&#34;: &#34;The command.&#34;&#xA;    },&#xA;    {&#xA;      &#34;key&#34;: &#34;4&#34;,&#xA;      &#34;name&#34;: &#34;ARGUMENTS&#34;,&#xA;      &#34;direction&#34;: &#34;REQUEST&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;MANDATORY&#34;,&#xA;      &#34;type&#34;: &#34;STRING_ARRAY&#34;,&#xA;      &#34;description&#34;: &#34;The arguments.&#34;&#xA;    },&#xA;    {&#xA;      &#34;key&#34;: &#34;10&#34;,&#xA;      &#34;name&#34;: &#34;IS_VALID_COMMAND&#34;,&#xA;      &#34;direction&#34;: &#34;RESPONSE&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;OPTIONAL&#34;,&#xA;      &#34;type&#34;: &#34;BOOLEAN&#34;,&#xA;      &#34;description&#34;: &#34;True if the command line is a valid command. The command will be added to the history buffer.&#34;&#xA;    },&#xA;    {&#xA;      &#34;key&#34;: &#34;11&#34;,&#xA;      &#34;name&#34;: &#34;OUTPUT&#34;,&#xA;      &#34;direction&#34;: &#34;RESPONSE&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;OPTIONAL&#34;,&#xA;      &#34;type&#34;: &#34;STRING&#34;,&#xA;      &#34;description&#34;: &#34;The output caused by the command.&#34;&#xA;    }&#xA;  ]&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2 id=&#34;arguments&#34;&gt;Arguments&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;COMMAND_LINE&lt;/code&gt; contains the user&#39;s input.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;DISPLAY&lt;/code&gt; indicates the address of the display where the user made the input.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;COMMAND&lt;/code&gt; is the instruction recognized by the interpreter.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;ARGUMENTS&lt;/code&gt; are the tokens that were appended to the command.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;IS_VALID_COMMAND&lt;/code&gt; is true if the input is recognized as a valid command.&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;OUTPUT&lt;/code&gt; indicates the text that should be displayed on the console as a response to the command.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;usage&#34;&gt;Usage&lt;/h2&gt;&#xA;&lt;p&gt;Registration of the message handler for CRecordCliHandle:&lt;/p&gt;</description>
    </item>
    <item>
      <title>CRecordCliRemoveHandler</title>
      <link>https://sillysky.net/docs/nyssr/records/console-records/crecordcliremovehandler/</link>
      <pubDate>Tue, 09 Dec 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/records/console-records/crecordcliremovehandler/</guid>
      <description>&lt;p&gt;The message removes a registered handler for a console command.&lt;/p&gt;&#xA;&lt;p&gt;This message is part of the &lt;a href=&#34;https://sillysky.net/docs/nyssr/records/console-records/&#34;&gt;console API&lt;/a&gt;. It is a&#xA;&lt;a href=&#34;https://sillysky.net/docs/nyssr/namespaces/nanoservices/&#34;&gt;nanoservice&lt;/a&gt; in the &lt;code&gt;SYSTEM&lt;/code&gt; namespace.&lt;/p&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-json&#34;&gt;{&#xA;  &#34;id&#34;: &#34;aaee82f5-17a1-4925-a0a5-02c1260cb25b&#34;,&#xA;  &#34;name&#34;: &#34;CLI_REMOVE_HANDLER&#34;,&#xA;  &#34;isNanoService&#34;: &#34;true&#34;,&#xA;  &#34;namespaces&#34;: &#34;SYSTEM&#34;,&#xA;  &#34;description&#34;: &#34;Remove a Command Handler.&#34;,&#xA;  &#34;slots&#34;: [&#xA;    {&#xA;      &#34;key&#34;: &#34;1&#34;,&#xA;      &#34;name&#34;: &#34;COMMAND&#34;,&#xA;      &#34;direction&#34;: &#34;REQUEST&#34;,&#xA;      &#34;presenceConstraint&#34;: &#34;MANDATORY&#34;,&#xA;      &#34;type&#34;: &#34;STRING&#34;,&#xA;      &#34;description&#34;: &#34;The command.&#34;&#xA;    }&#xA;  ]&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2 id=&#34;arguments&#34;&gt;Arguments&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;COMMAND is the registered command for which the handler should be removed. The handler itself is identified by the sender address of the message. The argument is optional: If it is missing, all registered commands of the handler will be removed.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;usage&#34;&gt;Usage&lt;/h2&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-java&#34;&gt;private void removeCommandLineHandler() throws &lt;a href=&#34;https://sillysky.net/docs/nyssr/other-interfaces/cexception/&#34;&gt;CException&lt;/a&gt;&#xA;{&#xA;    final &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/cenvelope/&#34;&gt;CEnvelope&lt;/a&gt; env = &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/cenvelope/&#34;&gt;CEnvelope&lt;/a&gt;.forLocalNanoService(&lt;a href=&#34;https://sillysky.net/docs/nyssr/namespaces/cwellknownnid/&#34;&gt;CWellKnownNID&lt;/a&gt;.SYSTEM);&#xA;    final &lt;a href=&#34;https://sillysky.net/docs/nyssr/messages/crecord/&#34;&gt;CRecord&lt;/a&gt; record = &lt;a href=&#34;https://sillysky.net/docs/nyssr/records/console-records/crecordcliremovehandler/&#34;&gt;CRecordCliRemoveHandler&lt;/a&gt;.create();&#xA;    &lt;a href=&#34;https://sillysky.net/docs/nyssr/records/console-records/crecordcliremovehandler/&#34;&gt;CRecordCliRemoveHandler&lt;/a&gt;.setCommand(record,&#xA;                                       &#34;quit&#34;);&#xA;    sendNotification(env,&#xA;                     record);&#xA;}&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
    <item>
      <title>CRecordCliAttachDisplay</title>
      <link>https://sillysky.net/docs/nyssr/records/console-records/crecordcliattachdisplay/</link>
      <pubDate>Thu, 23 Oct 2025 00:00:00 +0000</pubDate>
      <guid>https://sillysky.net/docs/nyssr/records/console-records/crecordcliattachdisplay/</guid>
      <description>&lt;p&gt;This message is sent from the console display to the console service to&#xA;redirect the console service&#39;s output to the display.&lt;/p&gt;&#xA;&lt;p&gt;The message is part of the &lt;a href=&#34;https://sillysky.net/docs/nyssr/records/console-records/&#34;&gt;console API&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;pre class=&#34;ss-javacode&#34;&gt;&lt;code class=&#34;language-json&#34;&gt;{&#xA;  &#34;id&#34;: &#34;69bb3e3a-dbf6-40ca-a2a0-2b3b67a93232&#34;,&#xA;  &#34;name&#34;: &#34;CLI_ATTACH_DISPLAY&#34;,&#xA;  &#34;description&#34;: &#34;Attach a display to the command line service.&#34;,&#xA;  &#34;slots&#34;: [&#xA;  ]&#xA;}&lt;/code&gt;&lt;/pre&gt;&#xA;&#xA;&lt;h2 id=&#34;arguments&#34;&gt;Arguments&lt;/h2&gt;&#xA;&lt;p&gt;The service uses the sender address of the message as the address of the&#xA;display.&lt;/p&gt;&#xA;&lt;h2 id=&#34;usage&#34;&gt;Usage&lt;/h2&gt;&#xA;&lt;p&gt;The display target sends this message to the command line service that each&#xA;node possesses. The command line service has a nanoservice API, so this&#xA;message is sent to the nanoservice.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
