class TransferJob
|
The tranfer job pumps data into and/or out of a Slave. More... |
|
|
Public Methods
- TransferJob (const KURL& url, int command, const QByteArray &packedArgs, const QByteArray &_staticData, bool showProgressInfo)
- virtual void start (Slave *slave)
- void suspend ()
- void resume ()
Signals
Protected Slots
- virtual void slotRedirection ( const KURL &url)
- virtual void slotFinished ()
- virtual void slotData ( const QByteArray &data)
- virtual void slotDataReq ()
Protected Members
- bool m_suspended
- QByteArray staticData
- KURL m_redirectionURL
Detailed Description
The tranfer job pumps data into and/or out of a Slave.
Data is sent to the slave on request of the slave (dataReq).
If data coming from the slave can not be handled, the
reading of data from the slave should be suspended.
Flow control. Suspend data processing from the slave.
Flow control. Resume data processing from the slave.
void data ( KIO::Job *, const QByteArray &data)
|
[signal]
Data from the slave has arrived.
Parameters:
data | data received from the slave
End of data (EOD) has been reached if data.size() == 0
|
void dataReq ( KIO::Job *, QByteArray &data)
|
[signal]
Request for data.
Parameters:
data | buffer to fill with data to send to the
slave. An empty buffer indicates end of data. (EOD)
|
[signal]
Signals a redirection
Use to update the URL shown to the user
The redirection itself is handled internally
Generated by: root@porky.devel.redhat.com on Wed May 10 08:56:52 2000, using kdoc 2.0a35. |