C# Class HomeSecurity.Web.Hubs.HomeSecurityHub

Inheritance: Hub
Afficher le fichier Open project: mlinnen/CloudHomeSecurity

Méthodes publiques

Méthode Description
ConnectToBroker ( ) : void
HomeSecurityHub ( ) : System
PublishCurrentState ( ) : void
PublishMessage ( string topic, string msg ) : void
Send ( string message ) : void
SendConnectedMQTTClients ( int count ) : void

Private Methods

Méthode Description
ConnectToBroker ( string ip, int port, string clientId ) : void
_client_Connected ( object sender, EventArgs e ) : void
_client_ConnectionLost ( object sender, EventArgs e ) : void
_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

Method Details

ConnectToBroker() public méthode

public ConnectToBroker ( ) : void
Résultat void

HomeSecurityHub() public méthode

public HomeSecurityHub ( ) : System
Résultat System

PublishCurrentState() public méthode

public PublishCurrentState ( ) : void
Résultat void

PublishMessage() public méthode

public PublishMessage ( string topic, string msg ) : void
topic string
msg string
Résultat void

Send() public méthode

public Send ( string message ) : void
message string
Résultat void

SendConnectedMQTTClients() public méthode

public SendConnectedMQTTClients ( int count ) : void
count int
Résultat void