Skip to content

Commit

Permalink
issue #16
Browse files Browse the repository at this point in the history
  • Loading branch information
veny committed Jul 28, 2014
1 parent 14b93e3 commit 0d849c0
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,19 +247,20 @@ and methods
* **sendData** - send data before job completes [Worker]

#### Job events
* **submited** - when job submited via a job server; server UID stored on the job [Client]
* **created** - when response to one of the SUBMIT_JOB* packets arrived and job handle assigned [Client]
* **submited** - when job submited via a job server; server UID stored on the job; has no parameter [Client]
* **created** - when response to one of the SUBMIT_JOB* packets arrived and job handle assigned; has no parameter [Client]
* **status** - to update status information of a submitted jobs [Client]
* in response to a client's request for a **background** job
* status update propagated from worker to client in case of a **non-background** job
* **workData** - to update the client with partial data from a running job [Client]
* **warning** - to update the client with a warning [Client]
* **complete** - when the non-background job completed successfully [Client]
* **failed** - when a job has been canceled by invoking Job#reportError on worker side [Client]
* has parameter **status** with attributes: known, running, percent_done_num, percent_done_den (see protocol specification for more info)
* **workData** - to update the client with partial data from a running job, has parameter **data** [Client]
* **warning** - to update the client with a warning, has parameter **data** [Client]
* **complete** - when the non-background job completed successfully, has no parameter [Client]
* **failed** - when a job has been canceled by invoking Job#reportError on worker side, has no parameter [Client]
* **exception** - when the job failed with the an exception, has parameter **text of exception** [Client]
* **timeout** - when the job has been canceled due to timeout [Client/Worker]
* **close** - when Job#close() called or when the job forcible closed by shutdown of client or worker [Client/Worker]
* **error** - when communication with job server failed [Client/Worker]
* **timeout** - when the job has been canceled due to timeout, has no parameter [Client/Worker]
* **close** - when Job#close() called or when the job forcible closed by shutdown of client or worker, has no parameter [Client/Worker]
* **error** - when communication with job server failed, has parameter **Error** object [Client/Worker]


### Job server
Expand Down

0 comments on commit 0d849c0

Please sign in to comment.