#include <connection.h>
|
void | connectionClosing () |
|
void | disconnected () |
|
An Connection represents one connection of a client to the server.
Definition at line 38 of file connection.h.
◆ Connection() [1/2]
Connection::Connection |
( |
quintptr | socketDescriptor, |
|
|
AkonadiServer & | akonadi ) |
|
explicitprotected |
Use AkThread::create() to construct and start a new connection thread.
Definition at line 44 of file server/connection.cpp.
◆ ~Connection()
Connection::~Connection |
( |
| ) |
|
|
override |
◆ Connection() [2/2]
Connection::Connection |
( |
AkonadiServer & | akonadi | ) |
|
|
protected |
◆ akonadi()
AkonadiServer & Akonadi::Server::Connection::akonadi |
( |
| ) |
const |
|
inline |
◆ context()
const CommandContext & Connection::context |
( |
| ) |
const |
◆ currentTag()
qint64 Connection::currentTag |
( |
| ) |
const |
|
protected |
◆ findHandlerForCommand()
std::unique_ptr< Handler > Connection::findHandlerForCommand |
( |
Protocol::Command::Type | cmd | ) |
|
|
protected |
◆ handleIncomingData
void Connection::handleIncomingData |
( |
| ) |
|
|
protectedslot |
◆ init
void Connection::init |
( |
| ) |
|
|
overrideprotectedslot |
◆ isOwnerResource() [1/2]
bool Connection::isOwnerResource |
( |
const Collection & | collection | ) |
const |
◆ isOwnerResource() [2/2]
bool Connection::isOwnerResource |
( |
const PimItem & | item | ) |
const |
Returns true
if this connection belongs to the owning resource of item
.
Definition at line 403 of file server/connection.cpp.
◆ quit
void Connection::quit |
( |
| ) |
|
|
overrideprotectedslot |
◆ readCommand()
◆ sendResponse() [1/2]
◆ sendResponse() [2/2]
template<typename T >
std::enable_if< std::is_base_of< Protocol::Command, T >::value >::type Akonadi::Server::Connection::sendResponse |
( |
T && | response | ) |
|
|
inline |
◆ sessionId()
◆ setContext()
void Connection::setContext |
( |
const CommandContext & | context | ) |
|
◆ setSessionId()
void Connection::setSessionId |
( |
const QByteArray & | id | ) |
|
◆ setState()
void Connection::setState |
( |
ConnectionState | state | ) |
|
◆ slotConnectionIdle
void Connection::slotConnectionIdle |
( |
| ) |
|
|
protectedslot |
◆ slotSendHello
void Connection::slotSendHello |
( |
| ) |
|
|
protectedslot |
◆ slotSocketDisconnected
void Connection::slotSocketDisconnected |
( |
| ) |
|
|
protectedslot |
◆ storageBackend()
◆ verifyCacheOnRetrieval()
bool Connection::verifyCacheOnRetrieval |
( |
| ) |
const |
◆ m_akonadi
AkonadiServer& Akonadi::Server::Connection::m_akonadi |
|
protected |
◆ m_backend
DataStore* Akonadi::Server::Connection::m_backend = nullptr |
|
mutableprotected |
◆ m_connectionClosing
bool Akonadi::Server::Connection::m_connectionClosing = false |
|
protected |
◆ m_connectionState
ConnectionState Akonadi::Server::Connection::m_connectionState = NonAuthenticated |
|
protected |
◆ m_context
CommandContext Akonadi::Server::Connection::m_context |
|
protected |
◆ m_currentHandler
std::unique_ptr<Handler> Akonadi::Server::Connection::m_currentHandler |
|
protected |
◆ m_executionsByHandler
QHash<QString, qint64> Akonadi::Server::Connection::m_executionsByHandler |
|
protected |
◆ m_identifier
QString Akonadi::Server::Connection::m_identifier |
|
protected |
◆ m_idleTimer
std::unique_ptr<QTimer> Akonadi::Server::Connection::m_idleTimer |
|
protected |
◆ m_sessionId
QByteArray Akonadi::Server::Connection::m_sessionId |
|
protected |
◆ m_socket
std::unique_ptr<QLocalSocket> Akonadi::Server::Connection::m_socket |
|
protected |
◆ m_socketDescriptor
quintptr Akonadi::Server::Connection::m_socketDescriptor = {} |
|
protected |
◆ m_statusMessageQueue
◆ m_time
◆ m_totalTime
qint64 Akonadi::Server::Connection::m_totalTime = 0 |
|
protected |
◆ m_totalTimeByHandler
QHash<QString, qint64> Akonadi::Server::Connection::m_totalTimeByHandler |
|
protected |
◆ m_verifyCacheOnRetrieval
bool Akonadi::Server::Connection::m_verifyCacheOnRetrieval = false |
|
protected |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:03:34 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.