Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KIO::Connection Class Reference

#include <connection.h>

List of all members.

Public Methods

int read (int *_cmd, QByteArray &)
void suspend ()
void resume ()
bool suspended () const


Detailed Description

This class provides a simple means for IPC between two applications via a pipe. It handles a queue of commands to be sent which makes it possible to queue data before an actual connection has been established.

Definition at line 46 of file connection.h.


Member Function Documentation

int KIO::Connection::read int *    _cmd,
QByteArray &   
 

Receive data

Returns:
>=0 indicates the received data size upon success -1 indicates error

void KIO::Connection::resume  
 

Resume handling of incoming data

void KIO::Connection::suspend  
 

Don't handle incoming data until resumed

bool KIO::Connection::suspended   const [inline]
 

Returns status of connection

Definition at line 90 of file connection.h.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:32 2003 for kdelibs by doxygen1.2.18