コード例 #1
0
 def disconnect(self):
     try:
         self._disconnect(self)
     except:
         pmnc.log.error(exc_string()) # log and ignore
     finally:
         TransactionalResource.disconnect(self)
コード例 #2
0
 def disconnect(self):
     try:
         self._disconnect(self)
     except:
         pmnc.log.error(exc_string())  # log and ignore
     finally:
         TransactionalResource.disconnect(self)
コード例 #3
0
ファイル: protocol_jms.py プロジェクト: targeted/pythomnic3k
 def disconnect(self):
     try:
         try:
             self._sync_adapter_command("EXIT")
         finally:
             self._stop_adapter(Timeout(min(5.0, pmnc.request.remain)))
     except:
         pmnc.log.error(exc_string()) # log and ignore
     finally:
         TransactionalResource.disconnect(self)
コード例 #4
0
 def disconnect(self):
     try:
         self._http_resource.disconnect()
     finally:
         TransactionalResource.disconnect(self)
コード例 #5
0
ファイル: protocol_udp.py プロジェクト: targeted/pythomnic3k
 def disconnect(self):
     try:
         self._socket.close()
     finally:
         TransactionalResource.disconnect()