org.kde.koala
public class Slave extends SlaveInterface
UNKNOWN: Attention developers: If you change the implementation of KIO.Slave, do not use connection() or slaveconn but the respective KIO.Slave accessor methods.
| Constructor Summary | |
|---|---|
| protected | Slave(Class dummy) |
| Method Summary | |
|---|---|
| String | className() |
| static Slave | createSlave(String protocol, KURL url, int[] error, StringBuffer error_text)
Creates a new slave. |
| void | deref() |
| void | gotInput() |
| void | hold(KURL url)
Puts the kioslave associated with url at halt. |
| static Slave | holdSlave(String protocol, KURL url) |
| String | host() |
| int | idleTime() |
| boolean | isAlive() |
| boolean | isConnected() |
| void | kill()
Force termination |
| QMetaObject | metaObject() |
| String | passwd() |
| int | port() |
| String | protocol()
The protocol this slave handles. |
| void | ref() |
| void | resetHost()
Clear host info. |
| void | resume()
Resumes the operation of the attached kioslave. |
| void | send(int cmd, byte[] data)
Sends the given command to the kioslave. |
| void | send(int cmd) |
| void | setConnected(boolean c) |
| void | setHost(String host, int port, String user, String passwd)
Set host for url |
| void | setIdle()
Marks this slave as idle. |
| void | setPID(int arg1) |
| void | setProtocol(String protocol) |
| String | slaveProtocol()
The actual protocol used to handle the request.
|
| int | slave_pid() |
| void | suspend()
Suspends the operation of the attached kioslave. |
| boolean | suspended()
Tells wether the kioslave is suspended. |
| void | timeout() |
| String | user() |
Parameters: protocol protocol the slave is for. url URL the slave should operate on. 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.
UNKNOWN: What are legal protocol values? Creates a new slave.
url at halt.UNKNOWN: Puts the kioslave associated with url at halt.
Returns: Host this slave is (was?) connected to
UNKNOWN:
Returns: The time this slave has been idle.
UNKNOWN:
Returns: true if the slave survived the last mission.
UNKNOWN:
UNKNOWN: Force termination
Returns: Passwd used to log in
UNKNOWN:
Returns: port this slave is (was?) connected to
UNKNOWN:
Returns: name of protocol handled by this slave, as seen by the user
UNKNOWN: The protocol this slave handles.
UNKNOWN: Clear host info.
UNKNOWN: Resumes the operation of the attached kioslave.
Parameters: cmd command id data byte array containing data
UNKNOWN: Sends the given command to the kioslave.
Parameters: host to connect to. port to connect to. user to login as passwd to login with
UNKNOWN: Set host for url
UNKNOWN: Marks this slave as idle.
Returns: the actual protocol (io-slave) that handled the request
UNKNOWN: The actual protocol used to handle the request.
UNKNOWN: Suspends the operation of the attached kioslave.
Returns: true if the kioslave is suspended.
UNKNOWN: Tells wether the kioslave is suspended.
Returns: User this slave is (was?) logged in as
UNKNOWN: