|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface JobSignals
| Method Summary | |
|---|---|
void |
connected(Job job)
Emitted when the slave successfully connected to the host. |
void |
infoMessage(Job job,
java.lang.String msg)
Emitted to display information about this job, as sent by the slave. |
void |
percent(Job job,
long percent)
Progress signal showing the overall progress of the job This is valid for any kind of job, and allows using a a progress bar very easily. |
void |
processedSize(Job job,
long size)
Regularly emitted to show the progress of this job (current data size for transfers, entries listed). |
void |
result(Job job)
Emitted when the job is finished, in any case (completed, canceled, failed...). |
void |
speed(Job job,
long speed)
Emitted to display information about the speed of this job. |
void |
totalSize(Job job,
long size)
Emitted when we know the size of this job (data size for transfers, number of entries for listings). |
void |
warning(Job job,
java.lang.String msg)
Emitted to display a warning about this job, as sent by the slave. |
| Method Detail |
|---|
void result(Job job)
job - the job that emitted this signal
void infoMessage(Job job,
java.lang.String msg)
job - the job that emitted this signalmsg - the info message
void warning(Job job,
java.lang.String msg)
job - the job that emitted this signalmsg - the info messagevoid connected(Job job)
job - the job that emitted this signal
void percent(Job job,
long percent)
job - the job that emitted this signalpercent - the percentage
void totalSize(Job job,
long size)
job - the job that emitted this signalsize - the total size in bytes
void processedSize(Job job,
long size)
job - the job that emitted this signalsize - the processed size in bytes
void speed(Job job,
long speed)
job - the job that emitted this signalspeed - the speed in bytes/s
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||