1using System.Threading.Tasks;
22 public override string Name =>
"NrServers";
41 await ResponseCallback(c.ToString(),
string.Empty);
47 public override string[]
HelpParagraphs =>
new string[] {
"Returns the number of connected servers." };
Mainstains information about connectivity from a specific s2s endpoint.
XmppS2sState? State
Connection state
An administrative command with no parameters.
Returns the number of connected servers.
NrServers()
Returns the number of connected servers.
override async Task Execute(ChatState State, string[] Arguments, string OrgMessage, ResponseCallbackHandler ResponseCallback)
Executes the command.
override string Name
Command name
override string[] HelpParagraphs
Markdown description of syntax.
Service Module hosting the XMPP broker and its components.
XmppS2sState
State of XMPP connection.
delegate Task< string > ResponseCallbackHandler(string Markdown, string MessageId)
Delegate for response callback handler methods.