pull/8/head
Nicolas Jouanin 2015-06-13 15:14:03 +02:00
rodzic 43c100d8b0
commit e200080a5e
3 zmienionych plików z 8 dodań i 2 usunięć

Wyświetl plik

@ -2,4 +2,4 @@
# #
# See the file license.txt for copying permission. # See the file license.txt for copying permission.
from ._broker import Broker #from ._broker import Broker

Wyświetl plik

@ -19,3 +19,9 @@ class CodecException(HBMQTTException):
Exceptions thrown by packet encode/decode functions Exceptions thrown by packet encode/decode functions
""" """
pass pass
class NoDataException(HBMQTTException):
"""
Exceptions thrown by packet encode/decode functions
"""
pass

Wyświetl plik

@ -4,7 +4,7 @@
import asyncio import asyncio
from hbmqtt.mqtt.packet import MQTTPacket, MQTTFixedHeader, PacketType, MQTTVariableHeader, MQTTPayload from hbmqtt.mqtt.packet import MQTTPacket, MQTTFixedHeader, PacketType, MQTTVariableHeader, MQTTPayload
from hbmqtt.codecs import * from hbmqtt.codecs import *
from hbmqtt.errors import MQTTException, CodecException, HBMQTTException from hbmqtt.errors import MQTTException, CodecException, HBMQTTException, NoDataException
from hbmqtt.session import Session from hbmqtt.session import Session