Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Parent.cs
1using System.Threading.Tasks;
2
4{
9 {
13 public Parent()
14 {
15 }
16
20 public override string Name => "Parent";
21
29 public override async Task Execute(ChatState State, string[] Arguments, string OrgMessage, ResponseCallbackHandler ResponseCallback)
30 {
31 await ResponseCallback(IoTGateway.Setup.XmppConfiguration.Instance.Host, string.Empty);
32 }
33
37 public override string[] HelpParagraphs => new string[] { "Returns the domain of the parent broker." };
38 }
39}
An administrative command with no parameters.
Returns the domain of the parent broker.
Definition: Parent.cs:9
override string[] HelpParagraphs
Markdown description of syntax.
Definition: Parent.cs:37
override string Name
Command name
Definition: Parent.cs:20
Parent()
Returns the domain of the parent broker.
Definition: Parent.cs:13
override async Task Execute(ChatState State, string[] Arguments, string OrgMessage, ResponseCallbackHandler ResponseCallback)
Executes the command.
Definition: Parent.cs:29
delegate Task< string > ResponseCallbackHandler(string Markdown, string MessageId)
Delegate for response callback handler methods.