Akonadi::Server::ResourceSelectHandler
Akonadi::Server::ResourceSelectHandler Class Reference
#include <resourceselecthandler.h>
Inheritance diagram for Akonadi::Server::ResourceSelectHandler:

Public Member Functions | |
ResourceSelectHandler (AkonadiServer &akonadi) | |
bool | parseStream () override |
![]() | |
Handler (const Handler &)=delete | |
Handler (Handler &&) noexcept=delete | |
AkonadiServer & | akonadi () const |
bool | checkScopeConstraints (const Scope &scope, int permittedScopes) |
Protocol::CommandPtr | command () const |
Connection * | connection () const |
bool | failureResponse (const char *response) |
bool | failureResponse (const QByteArray &response) |
bool | failureResponse (const QString &response) |
Handler & | operator= (const Handler &)=delete |
Handler & | operator= (Handler &&) noexcept=delete |
template<typename T > | |
void | sendResponse (T &&response) |
template<typename T > | |
void | sendResponse () |
void | setCommand (const Protocol::CommandPtr &cmd) |
void | setConnection (Connection *connection) |
void | setTag (quint64 tag) |
DataStore * | storageBackend () const |
template<typename T > | |
bool | successResponse () |
template<typename T > | |
bool | successResponse (T &&response) |
quint64 | tag () const |
Additional Inherited Members | |
![]() | |
static std::unique_ptr< Handler > | findHandlerForCommandAlwaysAllowed (Protocol::Command::Type cmd, AkonadiServer &akonadi) |
static std::unique_ptr< Handler > | findHandlerForCommandAuthenticated (Protocol::Command::Type cmd, AkonadiServer &akonadi) |
static std::unique_ptr< Handler > | findHandlerForCommandNonAuthenticated (Protocol::Command::Type cmd, AkonadiServer &akonadi) |
![]() | |
Handler (AkonadiServer &akonadi) | |
![]() | |
Protocol::CommandPtr | m_command |
Detailed Description
Handler for the resource selection command.
Semantics
Limits the scope of remote id based operations. Remote ids of collections are only guaranteed to be unique per resource, so this command should be issued before running any RID based collection commands.
Definition at line 27 of file resourceselecthandler.h.
Member Function Documentation
|
overridevirtual |
Parse and handle the IMAP message using the streaming parser.
The implementation MUST leave the trailing newline character(s) in the stream!
- Returns
- true if parsed successfully, false in case of parse failure
Implements Akonadi::Server::Handler.
Definition at line 18 of file resourceselecthandler.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:20:44 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:20:44 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.