class KIOConnection
|
This class provides a simple means for IPC between two applications
via a pipe. More... |
|
|
Public Methods
- KIOConnection ()
- KIOConnection ( int _in_fd, int _out_fd, size_t _buf_len = defaultBufferSize())
- virtual ~KIOConnection ()
- int inFD ()
- int outFD ()
- int send ( int _cmd, const void *_p, int _len )
- void* read ( int* _cmd, int* _len )
- bool eof ()
- char* buffer ()
- size_t bufferSize ()
Public Static Methods
Protected Methods
- void init ( int _in_fd, int _out_fd, size_t _buf_len )
Protected Members
- int m_in
- int m_out
- FILE * m_fin
- FILE * m_fout
- char* m_pBuffer
- size_t m_iBufferSize
Detailed Description
This class provides a simple means for IPC between two applications
via a pipe.
Return a writable pointer to the buffer.
Return the current size of the buffer, in bytes.
size_t defaultBufferSize ()
|
[static]
Return the default size of the buffer. This is useful when
constructing a "Connection", but rarely useful otherwise.
Generated by: root@tantive.terraplex.com on Sun Feb 27 17:39:31 2000, using kdoc 2.0a33. |