NxLibCommand

<< Click to Display Table of Contents >>

Navigation:  NxLib API > C# Interface / CLI >

NxLibCommand

This class simplifies the execution of NxLib commands. The command name must be specified on construction. The parameters() and result() functions provide access to the corresponding Parameters and Result nodes of the tree. The execute() then writes the previously specified command name into the Command item and allows for synchronous and asynchronous command execution.

Constructor

NxLibCommand(String commandName)

NxLibCommand(String commandName, String nodeName)

Parameters

commandName

The command to be carried out when the execute method is called on this instance.

nodeName

The name of the execution node to be used. When not specified the command executes in the Default node.