org.kde.koala
public class TransferJob extends SimpleJob
UNKNOWN: The transfer job pumps data into and/or out of a Slave.
Constructor Summary | |
---|---|
protected | TransferJob(Class dummy) |
TransferJob(KURL url, int command, byte[] packedArgs, byte[] _staticData, boolean showProgressInfo)
Do not create a TransferJob. |
Method Summary | |
---|---|
String | className() |
boolean | isErrorPage()
Checks whether we got an error page. |
boolean | isSuspended()
Flow control. |
QMetaObject | metaObject() |
boolean | reportDataSent()
Returns whether the job reports the amount of data that has been
sent (true), or whether the job reports the amount of data that
has been received (false) |
void | resume()
Flow control. |
void | sendAsyncData(byte[] data)
Provide data to the job when async data is enabled.
|
void | setAsyncDataEnabled(boolean enabled)
Enable the async data mode.
|
void | setReportDataSent(boolean enabled)
When enabled, the job reports the amount of data that has been sent,
instead of the amount of data that that has been received. |
protected void | slotCanResume(long offset) |
protected void | slotData(byte[] data) |
protected void | slotDataReq() |
protected void | slotErrorPage() |
protected void | slotFinished() |
protected void | slotMimetype(String mimetype) |
protected void | slotNeedSubURLData() |
protected void | slotPostRedirection() |
protected void | slotRedirection(KURL url) |
void | slotResult(Job job)
Called when m_subJob finishes. |
protected void | slotSubURLData(Job arg1, byte[] arg2) |
void | start(Slave slave)
Called by the scheduler when a slave gets to
work on this job. |
void | suspend()
Flow control. |
Parameters: url the url to get or put command the command to issue packedArgs the arguments _staticData additional data to transmit (e.g. in a HTTP Post) showProgressInfo true to show progress information to the user
UNKNOWN: Do not create a TransferJob.
Returns: true if we got an (HTML) error page from the server instead of what we asked for.
UNKNOWN: Checks whether we got an error page.
Returns: true if the job is suspended
UNKNOWN: Flow control.
UNKNOWN: Returns whether the job reports the amount of data that has been sent (true), or whether the job reports the amount of data that has been received (false)
UNKNOWN: Flow control.
UNKNOWN: Provide data to the job when async data is enabled.
UNKNOWN: Enable the async data mode.
See Also: TransferJob TransferJob
UNKNOWN: When enabled, the job reports the amount of data that has been sent, instead of the amount of data that that has been received.
Parameters: job the job that finished
UNKNOWN: Called when m_subJob finishes.
slave
gets to
work on this job.Parameters: slave the slave that starts working on this job
UNKNOWN:
UNKNOWN: Flow control.