class Slave


Full nameKIO::Slave
Definition#include <slave.h>
InheritsKIO::SlaveInterface
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Slots

Signals

Public Static Methods

void  kill ()

Force termination

bool  isAlive ()

Returns: true if the slave survided the last mission.

void  setHost ( const QString &host, int port, const QString &user, const QString &passwd)

Set host for url

Parameters:
hostto connect to.
portto connect to.
userto login as
passwdto login with

void  openConnection ()

Open connection (forced).

void  closeConnection ()

Close connection (forced).

QString  protocol ()

Returns: Protocol handled by this slave

QString  host ()

Returns: Host this slave is (was?) connected to

int  port ()

Returns: port this slave is (was?) connected to

QString  user ()

Returns: User this slave is (was?) logged in as

QString  passwd ()

Returns: Passwd used to log in

Slave*  createSlave ( const KURL& url, int& error, QString& error_text )

[static]

Creates a new slave if the KIOSlavePool has no matching one. m_pSlave and m_strSlaveProtocol are set accordingly on success.

Parameters:
_erroris the error code on failure and undefined else.
_error_textis the error text on failure and undefined else.

Returns: m_pSlave on success or 0L on failure.

time_t  idleTime ()

Returns: The time this slave has been idle.

void  setIdle ()

Marks this slave as idle.


Generated by: dfaure@faure on Sun Mar 26 14:24:43 2000, using kdoc 2.0a35.