C# 클래스 MqttLib.Mqtt

상속: IMqtt, IMqttShared
파일 보기 프로젝트 열기: mlinnen/MqttDotNet

Private Properties

프로퍼티 타입 설명
DoConnect void
qosManager_MessageReceived void
tmrCallback void

공개 메소드들

메소드 설명
Connect ( ) : void
Connect ( bool cleanStart ) : void
Connect ( string willTopic, QoS willQoS, MqttLib.MqttPayload willMsg, bool willRetain ) : void
Connect ( string willTopic, QoS willQoS, MqttLib.MqttPayload willMsg, bool willRetain, bool cleanStart ) : void
Connect ( string userName, string password ) : void
Connect ( string userName, string password, bool cleanStart ) : void
Connect ( string username, string password, string willTopic, QoS willQoS, MqttLib.MqttPayload willMsg, bool willRetain ) : void
Connect ( string username, string password, string willTopic, QoS willQoS, MqttLib.MqttPayload willMsg, bool willRetain, bool cleanStart ) : void
Disconnect ( ) : void
Mqtt ( string connString, string clientID, IPersistence store ) : System
Publish ( MqttLib.MqttParcel parcel ) : int
Publish ( string topic, MqttLib.MqttPayload payload, QoS qos, bool retained ) : int
Subscribe ( Subscription subscriptions ) : int
Subscribe ( string topic, QoS qos ) : int
Subscribe ( Subscription subscription, PublishArrivedDelegate subscriber ) : void
Unsubscribe ( string topics ) : int
Unsubscribe ( string topic, PublishArrivedDelegate subscriber ) : void

보호된 메소드들

메소드 설명
OnConnected ( EventArgs e ) : void
OnConnectionLost ( EventArgs e ) : void
OnPublishArrived ( MqttLib.Core.Messages.MqttPublishMessage m ) : void
OnPublished ( MqttLib.CompleteArgs e ) : void
OnSubscribed ( MqttLib.CompleteArgs e ) : void
OnUnsubscribed ( MqttLib.CompleteArgs e ) : void

비공개 메소드들

메소드 설명
DoConnect ( MqttConnectMessage conmsg ) : void
qosManager_MessageReceived ( object sender, MqttMessageReceivedEventArgs e ) : void
tmrCallback ( object args ) : void

메소드 상세

Connect() 공개 메소드

public Connect ( ) : void
리턴 void

Connect() 공개 메소드

public Connect ( bool cleanStart ) : void
cleanStart bool
리턴 void

Connect() 공개 메소드

public Connect ( string willTopic, QoS willQoS, MqttLib.MqttPayload willMsg, bool willRetain ) : void
willTopic string
willQoS QoS
willMsg MqttLib.MqttPayload
willRetain bool
리턴 void

Connect() 공개 메소드

public Connect ( string willTopic, QoS willQoS, MqttLib.MqttPayload willMsg, bool willRetain, bool cleanStart ) : void
willTopic string
willQoS QoS
willMsg MqttLib.MqttPayload
willRetain bool
cleanStart bool
리턴 void

Connect() 공개 메소드

public Connect ( string userName, string password ) : void
userName string
password string
리턴 void

Connect() 공개 메소드

public Connect ( string userName, string password, bool cleanStart ) : void
userName string
password string
cleanStart bool
리턴 void

Connect() 공개 메소드

public Connect ( string username, string password, string willTopic, QoS willQoS, MqttLib.MqttPayload willMsg, bool willRetain ) : void
username string
password string
willTopic string
willQoS QoS
willMsg MqttLib.MqttPayload
willRetain bool
리턴 void

Connect() 공개 메소드

public Connect ( string username, string password, string willTopic, QoS willQoS, MqttLib.MqttPayload willMsg, bool willRetain, bool cleanStart ) : void
username string
password string
willTopic string
willQoS QoS
willMsg MqttLib.MqttPayload
willRetain bool
cleanStart bool
리턴 void

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

Mqtt() 공개 메소드

public Mqtt ( string connString, string clientID, IPersistence store ) : System
connString string
clientID string
store IPersistence
리턴 System

OnConnected() 보호된 메소드

protected OnConnected ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnConnectionLost() 보호된 메소드

protected OnConnectionLost ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnPublishArrived() 보호된 메소드

protected OnPublishArrived ( MqttLib.Core.Messages.MqttPublishMessage m ) : void
m MqttLib.Core.Messages.MqttPublishMessage
리턴 void

OnPublished() 보호된 메소드

protected OnPublished ( MqttLib.CompleteArgs e ) : void
e MqttLib.CompleteArgs
리턴 void

OnSubscribed() 보호된 메소드

protected OnSubscribed ( MqttLib.CompleteArgs e ) : void
e MqttLib.CompleteArgs
리턴 void

OnUnsubscribed() 보호된 메소드

protected OnUnsubscribed ( MqttLib.CompleteArgs e ) : void
e MqttLib.CompleteArgs
리턴 void

Publish() 공개 메소드

public Publish ( MqttLib.MqttParcel parcel ) : int
parcel MqttLib.MqttParcel
리턴 int

Publish() 공개 메소드

public Publish ( string topic, MqttLib.MqttPayload payload, QoS qos, bool retained ) : int
topic string
payload MqttLib.MqttPayload
qos QoS
retained bool
리턴 int

Subscribe() 공개 메소드

public Subscribe ( Subscription subscriptions ) : int
subscriptions Subscription
리턴 int

Subscribe() 공개 메소드

public Subscribe ( string topic, QoS qos ) : int
topic string
qos QoS
리턴 int

Subscribe() 공개 메소드

public Subscribe ( Subscription subscription, PublishArrivedDelegate subscriber ) : void
subscription Subscription
subscriber PublishArrivedDelegate
리턴 void

Unsubscribe() 공개 메소드

public Unsubscribe ( string topics ) : int
topics string
리턴 int

Unsubscribe() 공개 메소드

public Unsubscribe ( string topic, PublishArrivedDelegate subscriber ) : void
topic string
subscriber PublishArrivedDelegate
리턴 void