Exemplo n.º 1
0
 def close(self):
     req = TCloseOperationReq(operationHandle=self.handle)
     self._rpc('CloseOperation', req)
Exemplo n.º 2
0
def close_operation(service, operation_handle):
    req = TCloseOperationReq(operationHandle=operation_handle)
    log.debug('close_operation: req=%s', req)
    resp = service.CloseOperation(req)
    log.debug('close_operation: resp=%s', resp)
    err_if_rpc_not_ok(resp)