KIMAP Library
20 #ifndef KIMAP_SESSIONTHREAD_P_H
21 #define KIMAP_SESSIONTHREAD_P_H
23 #include <QtCore/QMutex>
24 #include <QtCore/QQueue>
26 #include <ktcpsocket.h>
28 typedef KTcpSocket SessionSocket;
32 class ImapStreamParser;
35 class SessionThread :
public QObject
40 explicit SessionThread(
const QString &hostName, quint16 port );
43 inline QString hostName() {
return m_hostName; }
44 inline quint16 port() {
return m_port; }
50 void startSsl(KTcpSocket::SslVersion version);
51 void sslErrorHandlerResponse(
bool result);
54 void socketConnected();
55 void socketDisconnected();
56 void socketActivity();
57 void socketError(KTcpSocket::Error);
58 void responseReceived(
const KIMAP::Message &response);
59 void encryptionNegotiationResult(
bool, KTcpSocket::SslVersion);
60 void sslError(
const KSslErrorUiData&);
67 void writeDataQueue();
70 void slotSocketError(KTcpSocket::Error);
71 void slotSocketDisconnected();
72 void doStartSsl(KTcpSocket::SslVersion);
73 void doSslErrorHandlerResponse(
bool result);
79 SessionSocket *m_socket;
80 ImapStreamParser *m_stream;
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:03 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.