C# Class Yodiwo.PaaS.Amazon.AWSApplicationClient

Show file Open project: yodiwo/plegma Class Usage Examples

Public Properties

Property Type Description
OnRxMessagecb OnRxMessage

Public Methods

Method Description
AWSApplicationClient ( string brokerHostName, string clientpfx, string rootcert ) : System
Publish ( string topic, string data ) : void
Start ( string clientId ) : void

Private Methods

Method Description
UserCertificateValidationCallback ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool
_mqttClient_ConnectionClosed ( object sender, EventArgs e ) : void
_mqttClient_MqttMsgPublishReceived ( object sender, uPLibrary.Networking.M2Mqtt.Messages.MqttMsgPublishEventArgs e ) : void
_mqttClient_MqttMsgSubscribed ( object sender, uPLibrary.Networking.M2Mqtt.Messages.MqttMsgSubscribedEventArgs e ) : void
_mqttClient_MqttMsgUnsubscribed ( object sender, uPLibrary.Networking.M2Mqtt.Messages.MqttMsgUnsubscribedEventArgs e ) : void

Method Details

AWSApplicationClient() public method

public AWSApplicationClient ( string brokerHostName, string clientpfx, string rootcert ) : System
brokerHostName string
clientpfx string
rootcert string
return System

Publish() public method

public Publish ( string topic, string data ) : void
topic string
data string
return void

Start() public method

public Start ( string clientId ) : void
clientId string
return void

Property Details

OnRxMessagecb public property

public OnRxMessage OnRxMessagecb
return OnRxMessage