1 /*
2  * Collie - An asynchronous event-driven network framework using Dlang development
3  *
4  * Copyright (C) 2015-2017  Shanghai Putao Technology Co., Ltd 
5  *
6  * Developer: putao's Dlang team
7  *
8  * Licensed under the Apache-2.0 License.
9  *
10  */
11 module collie.codec.mqtt.mqttconnackmessage;
12 
13 import collie.codec.mqtt.mqttmsg;
14 import collie.codec.mqtt.mqttfixedheader;
15 import collie.codec.mqtt.mqttconnackvariableheader;
16 
17 class MqttConnAckMessage : MqttMsg
18 {
19 public:
20 	 this(MqttFixedHeader mqttFixedHeader, MqttConnAckVariableHeader variableHeader) {
21 		super(mqttFixedHeader, variableHeader);
22 	}
23 
24 	override
25 	 MqttConnAckVariableHeader variableHeader() {
26 		return cast(MqttConnAckVariableHeader) super.variableHeader();
27 	}
28 }
29