RPCHandler
Note
This class has been moved to perceval.providers.quandela.rpc_handler.
It should not be used on its own anymore, but is only used internally in the QuandelaCommunicationLayer.
A RPCHandler (RPC stands for Remote Procedure Call) is responsible for all the requests to a Cloud that
Perceval supports. It sends the authentication info along with the request data, and reacts to the HTTP errors which
might occur.
- class perceval.providers.quandela.rpc_handler.RPCHandler(name, url=None, token=None, proxies=None)
Remote Call Procedure Handler
A class to call the web API
- Parameters:
name – name of the target platform
url – API URL to call
token – token used for authentication
proxies – dictionary mapping protocol to the URL of the proxy