org.kde.koala

Class KAsyncIO

public class KAsyncIO extends QObject implements QIODeviceInterface

Asynchronous I/O Support This abstract class provides basic functionality for asynchronous I/O support on top of QIODevice. See KAsyncIOSignals for signals emitted by KAsyncIO

Author: Thiago Macieira

UNKNOWN: Asynchronous I/O support.

Constructor Summary
protected KAsyncIO(Class dummy)
Method Summary
longat()
booleanat(long arg1)
booleanatEnd()
StringclassName()
voidclose()
voidenableRead(boolean enable)
Toggles the emission of the readyRead() signal whenever the device is ready for reading.
voidenableWrite(boolean enable)
Toggles the emission of the readyWrite() signal whenever the device is ready for writing.
intflags()
voidflush()
intgetch()
booleanisAsynchronous()
booleanisBuffered()
booleanisCombinedAccess()
booleanisDirectAccess()
booleanisInactive()
booleanisOpen()
booleanisRaw()
booleanisReadable()
booleanisReadWrite()
booleanisSequentialAccess()
booleanisSynchronous()
booleanisTranslated()
booleanisWritable()
QMetaObjectmetaObject()
intmode()
booleanopen(int mode)
intputch(int arg1)
byte[]readAll()
longreadBlock(StringBuffer data, long maxlen)
longreadLine(String data, long maxlen)
booleanreset()
voidresetStatus()
longsize()
intstate()
intstatus()
intungetch(int arg1)
longwriteBlock(String data, long len)
longwriteBlock(byte[] data)

Constructor Detail

KAsyncIO

protected KAsyncIO(Class dummy)

Method Detail

at

public long at()

at

public boolean at(long arg1)

atEnd

public boolean atEnd()

className

public String className()

close

public void close()

enableRead

public void enableRead(boolean enable)
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: enable true to enable, false to disable the readyRead() signal

UNKNOWN: Toggles the emission of the readyRead() signal whenever the device is ready for reading.

enableWrite

public void enableWrite(boolean enable)
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: enable true to enable, false to disable the readyWrite() signal

UNKNOWN: Toggles the emission of the readyWrite() signal whenever the device is ready for writing.

flags

public int flags()

flush

public void flush()

getch

public int getch()

isAsynchronous

public boolean isAsynchronous()

isBuffered

public boolean isBuffered()

isCombinedAccess

public boolean isCombinedAccess()

isDirectAccess

public boolean isDirectAccess()

isInactive

public boolean isInactive()

isOpen

public boolean isOpen()

isRaw

public boolean isRaw()

isReadable

public boolean isReadable()

isReadWrite

public boolean isReadWrite()

isSequentialAccess

public boolean isSequentialAccess()

isSynchronous

public boolean isSynchronous()

isTranslated

public boolean isTranslated()

isWritable

public boolean isWritable()

metaObject

public QMetaObject metaObject()

mode

public int mode()

open

public boolean open(int mode)

putch

public int putch(int arg1)

readAll

public byte[] readAll()

readBlock

public long readBlock(StringBuffer data, long maxlen)

readLine

public long readLine(String data, long maxlen)

reset

public boolean reset()

resetStatus

public void resetStatus()

size

public long size()

state

public int state()

status

public int status()

ungetch

public int ungetch(int arg1)

writeBlock

public long writeBlock(String data, long len)

writeBlock

public long writeBlock(byte[] data)