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.mqttmsgtype;
12
13
14
15 enum MqttMsgType
16 {
17 CONNECT = 1,
18 CONNACK = 2,
19 PUBLISH = 3,
20 PUBACK = 4,
21 PUBREC = 5,
22 PUBREL = 6,
23 PUBCOMP = 7,
24 SUBSCRIBE = 8,
25 SUBACK = 9,
26 UNSUBSCRIBE = 10,
27 UNSUBACK = 11,
28 PINGREQ = 12,
29 PINGRESP = 13,
30 DISCONNECT = 14,
31 UNKNOWN = 15,
32 }