예제 #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;
 }
 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;
 }
 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;
 }
 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;
 }
 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;
 }