You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Franis Sirkovic (JIRA)" <ji...@apache.org> on 2009/02/09 18:16:59 UTC
[jira] Created: (THRIFT-330) TProcessor - additional method to
called when connection is broken
TProcessor - additional method to called when connection is broken
------------------------------------------------------------------
Key: THRIFT-330
URL: https://issues.apache.org/jira/browse/THRIFT-330
Project: Thrift
Issue Type: Wish
Reporter: Franis Sirkovic
Priority: Minor
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)
....
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.