2using System.Threading.Tasks;
27 this.brokerNode = BrokerNode;
28 this.topicNode = TopicNode;
106 StringBuilder ToSniffer = this.brokerNode.HasSniffers ?
new StringBuilder() :
null;
108 MqttBroker Broker = await this.brokerNode.GetBroker();
110 if (!(ToSniffer is
null))
111 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.
async Task ExecuteCommandAsync()
Executes the command.
Task< string > GetFailureStringAsync(Language Language)
Gets a failure string, if any, of the command. If no specific failure string is available,...
Task< bool > CanExecuteAsync(RequestOrigin Caller)
If the command can be executed by the caller.
CommandType Type
Type of command.
DiscoverNcapsTopic(MqttBrokerNode BrokerNode, MqttTopicNode TopicNode)
Requests Ncaps to identify themselves.
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.
ICommand Copy()
Creates a copy of the command object.
Task< string > GetSuccessStringAsync(Language Language)
Gets a success string, if any, of the command. If no specific success string is available,...
string CommandID
ID of command.
string SortKey
Sort Key, if available.
Task StartQueryExecutionAsync(Query Query, Language Language)
Starts the execution of a query.
string SortCategory
Sort Category, if available.
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.
A Metering node representing an MQTT topic
Class handling the reception of data from a query.
Tokens available in request.
MqttQualityOfService
MQTT Quality of Service level.