コード例 #1
0
ファイル: Filter.cs プロジェクト: hongjinlin/plc4x
 public Filter(MQTT_String filter, MQTT_RetainHandling retainHandling, bool retain, bool noLocal, MQTT_QOS maxQos)
 {
     Filter         = filter;
     RetainHandling = retainHandling;
     Retain         = retain;
     NoLocal        = noLocal;
     MaxQos         = maxQos;
 }
コード例 #2
0
 public MQTT_ControlPacket_PUBLISH(bool dup, MQTT_QOS qos, bool retain, byte remainingLength, MQTT_String topicName, ushort packetIdentifier, uint propertyLength, MQTT_Property[] properties, byte[] payload)
 {
     Dup              = dup;
     Qos              = qos;
     Retain           = retain;
     RemainingLength  = remainingLength;
     TopicName        = topicName;
     PacketIdentifier = packetIdentifier;
     PropertyLength   = propertyLength;
     Properties       = properties;
     Payload          = payload;
 }
コード例 #3
0
 public MQTT_ControlPacket_CONNECT(byte remainingLength, MQTT_String protocolName, byte protocolVersion, bool userNameFlagSet, bool passwordFlagSet, bool willRetainFlagSet, byte willQosLevel, bool willFlagSet, bool cleanStartFlagSet, ushort keepAlive, uint propertyLength, MQTT_Property[] properties, MQTT_String clientId, MQTT_String username, MQTT_String password)
 {
     RemainingLength   = remainingLength;
     ProtocolName      = protocolName;
     ProtocolVersion   = protocolVersion;
     UserNameFlagSet   = userNameFlagSet;
     PasswordFlagSet   = passwordFlagSet;
     WillRetainFlagSet = willRetainFlagSet;
     WillQosLevel      = willQosLevel;
     WillFlagSet       = willFlagSet;
     CleanStartFlagSet = cleanStartFlagSet;
     KeepAlive         = keepAlive;
     PropertyLength    = propertyLength;
     Properties        = properties;
     ClientId          = clientId;
     Username          = username;
     Password          = password;
 }
コード例 #4
0
 public MQTT_Property_RESPONSE_INFORMATION(MQTT_PropertyType propertyType, MQTT_String value)
     : base(propertyType)
 {
     Value = value;
 }
コード例 #5
0
 public MQTT_Property_ASSIGNED_CLIENT_IDENTIFIER(MQTT_PropertyType propertyType, MQTT_String value)
     : base(propertyType)
 {
     Value = value;
 }
コード例 #6
0
 public MQTT_Property_REASON_STRING(MQTT_PropertyType propertyType, MQTT_String value)
     : base(propertyType)
 {
     Value = value;
 }
コード例 #7
0
 public MQTT_Property_USER_PROPERTY(MQTT_PropertyType propertyType, MQTT_String name, MQTT_String value)
     : base(propertyType)
 {
     Name  = name;
     Value = value;
 }
コード例 #8
0
 public MQTT_Property_SERVER_REFERENCE(MQTT_PropertyType propertyType, MQTT_String value)
     : base(propertyType)
 {
     Value = value;
 }
コード例 #9
0
 public MQTT_Property_RESPONSE_TOPIC(MQTT_PropertyType propertyType, MQTT_String value)
     : base(propertyType)
 {
     Value = value;
 }
コード例 #10
0
 public MQTT_Property_AUTHENTICATION_METHOD(MQTT_PropertyType propertyType, MQTT_String value)
     : base(propertyType)
 {
     Value = value;
 }
コード例 #11
0
 public MQTT_Property_CONTENT_TYPE(MQTT_PropertyType propertyType, MQTT_String value)
     : base(propertyType)
 {
     Value = value;
 }