KIO
#include <connection_p.h>

Public Types | |
enum | Mode { LocalSocketMode , TcpSocketMode } |
![]() | |
enum | { Idle , Listening , Connected } |
Public Slots | |
void | socketDisconnected () |
void | socketReadyRead () |
Public Member Functions | |
SocketConnectionBackend (Mode m, QObject *parent=0) | |
~SocketConnectionBackend () | |
bool | connectToRemote (const KUrl &url) |
bool | listenForRemote () |
AbstractConnectionBackend * | nextPendingConnection () |
bool | sendCommand (const Task &task) |
void | setSuspended (bool enable) |
bool | waitForIncomingTask (int ms) |
![]() | |
AbstractConnectionBackend (QObject *parent=0) | |
~AbstractConnectionBackend () | |
virtual bool | connectToRemote (const KUrl &url)=0 |
virtual bool | listenForRemote ()=0 |
virtual AbstractConnectionBackend * | nextPendingConnection ()=0 |
virtual bool | sendCommand (const Task &task)=0 |
virtual void | setSuspended (bool enable)=0 |
virtual bool | waitForIncomingTask (int ms)=0 |
Additional Inherited Members | |
![]() | |
void | commandReceived (const Task &task) |
void | disconnected () |
void | newConnection () |
![]() | |
QString | address |
QString | errorString |
enum KIO::AbstractConnectionBackend:: { ... } | state |
Detailed Description
Definition at line 58 of file connection_p.h.
Member Enumeration Documentation
◆ Mode
Enumerator | |
---|---|
LocalSocketMode | |
TcpSocketMode |
Definition at line 62 of file connection_p.h.
Constructor & Destructor Documentation
◆ SocketConnectionBackend()
Definition at line 118 of file connection.cpp.
◆ ~SocketConnectionBackend()
SocketConnectionBackend::~SocketConnectionBackend | ( | ) |
Definition at line 126 of file connection.cpp.
Member Function Documentation
◆ connectToRemote()
|
virtual |
Implements KIO::AbstractConnectionBackend.
Definition at line 160 of file connection.cpp.
◆ listenForRemote()
|
virtual |
Implements KIO::AbstractConnectionBackend.
Definition at line 200 of file connection.cpp.
◆ nextPendingConnection()
|
virtual |
Implements KIO::AbstractConnectionBackend.
Definition at line 303 of file connection.cpp.
◆ sendCommand()
|
virtual |
Implements KIO::AbstractConnectionBackend.
Definition at line 282 of file connection.cpp.
◆ setSuspended()
|
virtual |
Implements KIO::AbstractConnectionBackend.
Definition at line 133 of file connection.cpp.
◆ socketDisconnected
|
slot |
Definition at line 194 of file connection.cpp.
◆ socketReadyRead
|
slot |
Definition at line 329 of file connection.cpp.
◆ waitForIncomingTask()
|
virtual |
Implements KIO::AbstractConnectionBackend.
Definition at line 251 of file connection.cpp.
Member Data Documentation
◆ localServer
KLocalSocketServer* KIO::SocketConnectionBackend::localServer |
Definition at line 69 of file connection_p.h.
◆ tcpServer
QTcpServer* KIO::SocketConnectionBackend::tcpServer |
Definition at line 70 of file connection_p.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.