Method | Description | |
---|---|---|
ConnectToBroker ( ) : void | ||
HomeSecurityHub ( ) : System | ||
PublishCurrentState ( ) : void | ||
PublishMessage ( string topic, string msg ) : void | ||
Send ( string message ) : void | ||
SendConnectedMQTTClients ( int count ) : void |
Method | Description | |
---|---|---|
ConnectToBroker ( string ip, int port, string clientId ) : void | ||
_client_Connected ( object sender, |
||
_client_ConnectionLost ( object sender, |
||
_client_PublishArrived ( object sender, MqttLib.PublishArrivedArgs e ) : bool | ||
_client_Published ( object sender, MqttLib.CompleteArgs e ) : void | ||
_client_Subscribed ( object sender, MqttLib.CompleteArgs e ) : void | ||
_client_Unsubscribed ( object sender, MqttLib.CompleteArgs e ) : void |
public PublishMessage ( string topic, string msg ) : void | ||
topic | string | |
msg | string | |
return | void |
public SendConnectedMQTTClients ( int count ) : void | ||
count | int | |
return | void |