web.clientjob

Package web :: Package clientjob |
[hide private]
[frames] | no frames]

# Package clientjob

source code

Module with the server's communication.

Submodules | [hide private]
web.clientjob.jobview web.clientjob.model: Model for client's jobs. web.clientjob.secure_connection

Classes | [hide private]
| Response A instance of this class is returned by send_job.
| ComputerNotFoundError Raise when you want to send a job to a computer that it's not in the data base

Functions | [hide private]
send_job(job) Given a job sends a http request with the command to execute in the client. | source code
__send_request(ip, id, command) Sends a http request to the ip with a id. | source code

Function Details | [hide private]

### send_job(job) | source code
Given a job sends a http request with the command to execute in the client. Decorators: `@i18n`

### __send_request(ip, id, command) | source code
Sends a http request to the ip with a id. If something was wrong the job will be deleted from the data base.