1using System.Threading.Tasks;
20 public override string Name =>
"Parent";
31 await ResponseCallback(IoTGateway.Setup.XmppConfiguration.Instance.Host,
string.Empty);
37 public override string[]
HelpParagraphs =>
new string[] {
"Returns the domain of the parent broker." };
An administrative command with no parameters.
Returns the domain of the parent broker.
override string[] HelpParagraphs
Markdown description of syntax.
override string Name
Command name
Parent()
Returns the domain of the parent broker.
override async Task Execute(ChatState State, string[] Arguments, string OrgMessage, ResponseCallbackHandler ResponseCallback)
Executes the command.
delegate Task< string > ResponseCallbackHandler(string Markdown, string MessageId)
Delegate for response callback handler methods.