summaryrefslogtreecommitdiff
path: root/python/qpid/framer.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-05-09 18:40:13 +0000
committerRafael H. Schloming <rhs@apache.org>2008-05-09 18:40:13 +0000
commit2ebccc4f3ab6e7813ac2179c8318163ffdd22cff (patch)
tree423197bb243ca909e90637fdc24c3a5a9565ad81 /python/qpid/framer.py
parent7f0c95b0e94c964a92c77c7c8c59035ffff35f34 (diff)
downloadqpid-python-2ebccc4f3ab6e7813ac2179c8318163ffdd22cff.tar.gz
QPID-1045: always notify incoming message queues of session closure and provide API for notifying listeners of closure; also preserve connection close code and report in errors
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654907 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/framer.py')
-rw-r--r--python/qpid/framer.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/qpid/framer.py b/python/qpid/framer.py
index 78a29235cb..27ea3287f0 100644
--- a/python/qpid/framer.py
+++ b/python/qpid/framer.py
@@ -18,6 +18,7 @@
#
import struct, socket
+from exceptions import Closed
from packer import Packer
from threading import Lock
from logging import getLogger
@@ -66,8 +67,6 @@ class Frame:
self.channel,
self.payload)
-class Closed(Exception): pass
-
class FramingError(Exception): pass
class Framer(Packer):