class Connection
|
This class provides a simple means for IPC between two applications
via a pipe. More... |
|
|
Public Methods
Protected Slots
This class provides a simple means for IPC between two applications
via a pipe.
It handles a queue of commands to be sent, and has a internal signal
called after a command has been sent, to send the next one (FIFO).
[virtual]
void connect (QObject *receiver = 0, const char *member = 0)
|
[const]
[const]
void init (int fd_in, int fd_out)
|
[const]
void send (int cmd, const QByteArray &arr = QByteArray())
|
bool sendnow ( int _cmd, const QByteArray &data )
|
int read ( int* _cmd, QByteArray & )
|
Receive data
Returns: >=0 indicates the received data size upon success
-1 indicates error
Don't handle incoming data until resumed
Resume handling of incoming data
[const]
Returns status of connection
void queueOnly (bool queue)
|
[ protected slots:
slot]
Generated by: marc@yogi on Tue Mar 27 13:07:59 2001, using kdoc 2.0a48. |