KDECore
Go to the documentation of this file.
25 #ifndef KBUFFEREDSOCKET_H
26 #define KBUFFEREDSOCKET_H
31 #include <QtCore/QObject>
32 #include <QtCore/QByteArray>
33 #include <QtCore/QList>
37 class KBufferedSocketPrivate;
86 virtual bool setSocketOptions(
int opts);
100 virtual qint64 bytesAvailable()
const;
110 virtual void enableRead(
bool enable);
115 virtual void enableWrite(
bool enable);
120 void setInputBuffering(
bool enable);
125 void setOutputBuffering(
bool enable);
130 virtual qint64 bytesToWrite()
const;
138 virtual void closeNow();
143 virtual bool canReadLine()
const;
151 void waitForConnect();
178 virtual qint64 readLineData(
char *data,
qint64 maxSize);
189 virtual void slotReadActivity();
194 virtual void slotWriteActivity();
202 void bytesWritten(
int bytes);
209 KBufferedSocketPrivate*
const d;
A namespace to store all networking-related (socket) classes.
Low-level socket functionality.
SocketState
Socket states.
A generic socket address.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by
doxygen 1.8.20 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.