C# Class MqttLib.Core.Messages.MqttConnectMessage

Inheritance: MqttLib.Core.Messages.MqttMessage
Datei anzeigen Open project: mlinnen/MqttDotNet Class Usage Examples

Public Methods

Method Description
MqttConnectMessage ( string clientID, ushort keepAlive, bool cleanStart ) : System
MqttConnectMessage ( string clientID, ushort keepAlive, string willTopic, byte willPayload, QoS willQos, bool willRetained, bool cleanStart ) : System
MqttConnectMessage ( string clientID, ushort keepAlive, string userName, string password, bool cleanStart ) : System
MqttConnectMessage ( string clientID, ushort keepAlive, string userName, string password, string willTopic, byte willPayload, QoS willQos, bool willRetained, bool cleanStart ) : System

Protected Methods

Method Description
ConstructFromStream ( System str ) : void
SendPayload ( System str ) : void

Private Methods

Method Description
SetConnectVariableHeaderCommon ( string clientID, ushort keepAlive ) : void

Method Details

ConstructFromStream() protected method

protected ConstructFromStream ( System str ) : void
str System
return void

MqttConnectMessage() public method

public MqttConnectMessage ( string clientID, ushort keepAlive, bool cleanStart ) : System
clientID string
keepAlive ushort
cleanStart bool
return System

MqttConnectMessage() public method

public MqttConnectMessage ( string clientID, ushort keepAlive, string willTopic, byte willPayload, QoS willQos, bool willRetained, bool cleanStart ) : System
clientID string
keepAlive ushort
willTopic string
willPayload byte
willQos QoS
willRetained bool
cleanStart bool
return System

MqttConnectMessage() public method

public MqttConnectMessage ( string clientID, ushort keepAlive, string userName, string password, bool cleanStart ) : System
clientID string
keepAlive ushort
userName string
password string
cleanStart bool
return System

MqttConnectMessage() public method

public MqttConnectMessage ( string clientID, ushort keepAlive, string userName, string password, string willTopic, byte willPayload, QoS willQos, bool willRetained, bool cleanStart ) : System
clientID string
keepAlive ushort
userName string
password string
willTopic string
willPayload byte
willQos QoS
willRetained bool
cleanStart bool
return System

SendPayload() protected method

protected SendPayload ( System str ) : void
str System
return void