Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
None
-
None
-
None
Description
I would like to have notification when connection is broken.
For example
class TProcessor:
def process(self, iprot, oprot):
pass
def closed(self, iprot, oprot):
pass
class Processor(Iface, TProcessor):
....
def closed(self, iprot, oprot):
self._handler.closed()
class TThreadedServer():
....
def handle(self, client):
...
try:
while True:
....
except Exception, x:
....
self.processor.closed(iprot, oprot)
....