class KAsyncIO

# class KAsyncIO | Asynchronous I/O support. More...
Contains pure virtuals
Definition | `#include <kasyncio.h>`
Inherits | QIODevice (qt) [public ], QObject (qt) [public ]
Inherited by | KBufferedIO, KExtendedSocket
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- virtual void enableRead (bool enable)
- virtual void enableWrite (bool enable)

#### Signals

- void readyRead ()
- void readyWrite ()

#### Protected Methods

- KAsyncIO ()
- virtual void virtual_hook ( int id, void* data )

## Detailed Description

Asynchronous I/O Support

This abstract class provides basic functionality for asynchronous I/O support on top of QIODevice.

KAsyncIO () | ### KAsyncIO

[protected]

void enableRead (bool enable) | ### enableRead

[pure virtual]

Toggles the emission of the readyRead() signal whenever the device is ready for reading. This is useful if you want to know the first time the device is ready for reading and you don't want to read it now.

Parameters:

true | to enable, false to disable the readyRead() signal

void enableWrite (bool enable) | ### enableWrite

[pure virtual]

Toggles the emission of the readyWrite() signal whenever the device is ready for writing. This is useful if you want to know the first time the device is ready for writing and you don't want to write to it now.

Parameters:

true | to enable, false to disable the readyWrite() signal

void readyRead () | ### readyRead

[signal]

This signal gets sent when the device is ready for reading.

void readyWrite () | ### readyWrite

[signal]

This signal gets sent when the device is ready for writing.

void virtual_hook ( int id, void* data ) | ### virtual_hook

[protected virtual]

- Version: $Id: kasyncio.h,v 1.5 2002/09/08 14:59:59 tjansen Exp $
- Author: Thiago Macieira
- Generated: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:15 2003, using kdoc 2.0a54.