2using System.Threading.Tasks;
26 this.brokerNode = BrokerNode;
32 [Page(1,
"IEEE 1451")]
33 [Header(21,
"Topic:", 100)]
34 [ToolTip(22,
"Search for NCAPs on this topic.")]
36 public string Topic {
get;
set; }
116 StringBuilder ToSniffer = this.brokerNode.HasSniffers ?
new StringBuilder() :
null;
118 MqttBroker Broker = await this.brokerNode.GetBroker();
120 if (!(ToSniffer is
null))
121 await this.brokerNode.Information(ToSniffer.ToString());
Contains information about a language.
Task< string > GetStringAsync(Type Type, int Id, string Default)
Gets the string value of a string ID. If no such string exists, a string is created with the default ...
IEEE 1451.0 Discovery Message
static byte[] SerializeRequest(StringBuilder SnifferOutput)
Serializes an NCAP Discovery request.
Requests Ncaps to identify themselves.
DiscoverNcapsRoot(MqttBrokerNode BrokerNode)
Requests Ncaps to identify themselves.
ICommand Copy()
Creates a copy of the command object.
string SortKey
Sort Key, if available.
string Topic
Search for NCAPs on this topic.
Task< bool > CanExecuteAsync(RequestOrigin Caller)
If the command can be executed by the caller.
string SortCategory
Sort Category, if available.
CommandType Type
Type of command.
async Task ExecuteCommandAsync()
Executes the command.
Task< string > GetSuccessStringAsync(Language Language)
Gets a success string, if any, of the command. If no specific success string is available,...
Task< string > GetConfirmationStringAsync(Language Language)
Gets a confirmation string, if any, of the command. If no confirmation is necessary,...
Task< string > GetNameAsync(Language Language)
Gets the name of data source.
Task StartQueryExecutionAsync(Query Query, Language Language)
Starts the execution of a query.
Task< string > GetFailureStringAsync(Language Language)
Gets a failure string, if any, of the command. If no specific failure string is available,...
string CommandID
ID of command.
IEEE 1451.1.6 root topic node
MQTT Broker connection object.
Task Publish(string Topic, MqttQualityOfService QoS, bool Retain, byte[] Data)
Publishes binary data to a topic.
Node representing a connection to an MQTT broker.
Class handling the reception of data from a query.
Tokens available in request.
MqttQualityOfService
MQTT Quality of Service level.