Public Methods
Public Slots
Signals
Public Static Methods
[virtual]
void setPID (pid_t)
| setPID |
int slave_pid ()
| slave_pid |
Force termination
Returns: true if the slave survided the last mission.
Set host for url
Parameters:
host | to connect to.
|
port | to connect to.
|
user | to login as
|
passwd | to login with
|
void resetHost ()
| resetHost |
Clear host info.
void setConfig (const MetaData &config)
| setConfig |
Configure slave
The protocol this slave handles.
Returns: name of protocol handled by this slave, as seen by the user
void setProtocol (const QString & protocol)
| setProtocol |
QString slaveProtocol ()
| slaveProtocol |
The actual protocol used to handle the request.
This method will return a different protocol than
the one obtained by using protocol() if a
proxy-server is used for the given protocol. This
usually means that this method will return "http"
when the actuall request was to retrieve a resource
from an "ftp" server by going through a proxy server.
Returns: the actual protocol (io-slave) that handled the request
Returns: Host this slave is (was?) connected to
Returns: port this slave is (was?) connected to
Returns: User this slave is (was?) logged in as
Returns: Passwd used to log in
Slave* createSlave ( const QString &protocol, const KURL& url, int& error, QString& error_text )
| createSlave |
[static]
Creates a new slave.
Parameters:
_error | is the error code on failure and undefined else.
|
_error_text | is the error text on failure and undefined else.
|
Returns: 0 on failure, or a pointer to a slave otherwise.
Slave* createSlave ( const KURL& url, int& error, QString& error_text )
| createSlave |
[static]
void queueOnly (bool queue)
| queueOnly |
bool suspended ()
| suspended |
time_t idleTime ()
| idleTime |
Returns: The time this slave has been idle.
Marks this slave as idle.
bool isConnected ()
| isConnected |
void setConnected (bool c)
| setConnected |
Connection * connection ()
| connection |
Reimplemented from SlaveInterface.
void accept (KSocket *socket)
| accept |
[slot]
void gotInput ()
| gotInput |
[slot]
void gotAnswer ()
| gotAnswer |
[slot]
[slot]
[signal]
Generated by: dfaure on kde.faure.org on Thu Jan 17 22:16:53 2002, using kdoc 2.0a53. |