예제 #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
 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
 def disconnect(self):
     try:
         self._socket.close()
     finally:
         TransactionalResource.disconnect()