class _TDEIO.Slave

#### PyKDE - Python Bindings for KDE

# class _TDEIO.Slave |
Table of contents
Modules
tdeio Classes
All Classes

Module | tdeio
Class | _TDEIO.Slave
Inherits | _TDEIO.SlaveInterface

### methods

- Slave (derived, unixdomain, protocol, socketname)

  returns a Slave instance
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  derived | bool |
  unixdomain | TDEServerSocket |
  protocol | TQString |
  socketname | TQString |

- Slave (unixdomain, protocol, socketname)

  returns a Slave instance
  Argument | Type | Default
  --- | --- | ---
  unixdomain | TDEServerSocket |
  protocol | TQString |
  socketname | TQString |

- accept (socket)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  socket | TDESocket |

- connection ()

  returns (_TDEIO.Connection)

- createSlave (protocol, url)

  returns (_TDEIO.Slave) error (int) error_text (TQString)
  static
  Argument | Type | Default
  --- | --- | ---
  protocol | TQString |
  url | KURL |

- deref ()

  returns nothing

- gotInput ()

  returns nothing

- hold (url)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  url | KURL |

- holdSlave (protocol, url)

  returns (_TDEIO.Slave)
  static
  Argument | Type | Default
  --- | --- | ---
  protocol | TQString |
  url | KURL |

- host ()

  returns (TQString)

- idleTime ()

  returns (time_t)

- isAlive ()

  returns (bool)

- isConnected ()

  returns (bool)

- kill ()

  returns nothing

- passwd ()

  returns (TQString)

- port ()

  returns (int)

- protocol ()

  returns (TQString)

- ref ()

  returns nothing

- resetHost ()

  returns nothing

- resume ()

  returns nothing

- send (cmd, data = TQByteArray ())

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  cmd | int |
  data | TQByteArray | TQByteArray ()

- setConfig (config)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  config | _TDEIO.MetaData |

- setConnected (c)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  c | bool |

- setHost (host, port, user, passwd)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  host | TQString |
  port | int |
  user | TQString |
  passwd | TQString |

- setIdle ()

  returns nothing

- setPID (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | pid_t |

- setProtocol (protocol)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  protocol | TQString |

- slaveDied (slave)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  slave | _TDEIO.Slave |

- slaveProtocol ()

  returns (TQString)

- slave_pid ()

  returns (int)

- suspend ()

  returns nothing

- suspended ()

  returns (bool)

- timeout ()

  returns nothing

- unlinkSocket ()

  returns nothing

- user ()

  returns (TQString)