VMime
IMAPSStore Class Reference

#include <IMAPSStore.hpp>

Inheritance diagram for IMAPSStore:
Collaboration diagram for IMAPSStore:

Public Member Functions

 IMAPSStore (shared_ptr< session > sess, shared_ptr< security::authenticator > auth)
 ~IMAPSStore ()
const string getProtocolName () const
const serviceInfosgetInfos () const
Public Member Functions inherited from IMAPStore
 IMAPStore (shared_ptr< session > sess, shared_ptr< security::authenticator > auth, const bool secured=false)
 ~IMAPStore ()
const string getProtocolName () const
shared_ptr< foldergetDefaultFolder ()
shared_ptr< foldergetRootFolder ()
shared_ptr< foldergetFolder (const folder::path &path)
bool isValidFolderName (const folder::path::component &name) const
const serviceInfosgetInfos () const
void connect ()
bool isConnected () const
void disconnect ()
void noop ()
int getCapabilities () const
bool isIMAPS () const
bool isSecuredConnection () const
shared_ptr< connectionInfosgetConnectionInfos () const
shared_ptr< IMAPConnectiongetConnection ()
Public Member Functions inherited from store
Type getType () const
Public Member Functions inherited from service
virtual ~service ()
shared_ptr< const sessiongetSession () const
shared_ptr< sessiongetSession ()
shared_ptr< const security::authenticatorgetAuthenticator () const
shared_ptr< security::authenticatorgetAuthenticator ()
void setAuthenticator (shared_ptr< security::authenticator > auth)
void setCertificateVerifier (shared_ptr< security::cert::certificateVerifier > cv)
shared_ptr< security::cert::certificateVerifiergetCertificateVerifier ()
void setSocketFactory (shared_ptr< socketFactory > sf)
shared_ptr< socketFactorygetSocketFactory ()
void setTimeoutHandlerFactory (shared_ptr< timeoutHandlerFactory > thf)
shared_ptr< timeoutHandlerFactorygetTimeoutHandlerFactory ()
void setTracerFactory (shared_ptr< tracerFactory > tf)
shared_ptr< tracerFactorygetTracerFactory ()
template<typename TYPE>
void setProperty (const string &name, const TYPE &value)

Static Public Member Functions

static const serviceInfosgetInfosInstance ()
Static Public Member Functions inherited from IMAPStore
static const serviceInfosgetInfosInstance ()

Additional Inherited Members

Public Types inherited from store
enum  Capabilities {
  CAPABILITY_CREATE_FOLDER = (1 << 0) , CAPABILITY_RENAME_FOLDER = (1 << 1) , CAPABILITY_ADD_MESSAGE = (1 << 2) , CAPABILITY_COPY_MESSAGE = (1 << 3) ,
  CAPABILITY_DELETE_MESSAGE = (1 << 4) , CAPABILITY_PARTIAL_FETCH = (1 << 5) , CAPABILITY_MESSAGE_FLAGS = (1 << 6) , CAPABILITY_EXTRACT_PART = (1 << 7)
}
Public Types inherited from service
enum  Type { TYPE_STORE = 0 , TYPE_TRANSPORT }
Protected Member Functions inherited from IMAPStore
shared_ptr< IMAPConnectionconnection ()
void registerFolder (IMAPFolder *folder)
void unregisterFolder (IMAPFolder *folder)
Protected Member Functions inherited from store
 store (shared_ptr< session > sess, const serviceInfos &infos, shared_ptr< security::authenticator > auth)
Protected Member Functions inherited from service
 service (shared_ptr< session > sess, const serviceInfos &infos, shared_ptr< security::authenticator > auth)
Protected Member Functions inherited from object
 object ()
 object (const object &)
objectoperator= (const object &)
virtual ~object ()
Protected Attributes inherited from IMAPStore
shared_ptr< IMAPConnectionm_connection
std::list< IMAPFolder * > m_folders
const bool m_isIMAPS
Static Protected Attributes inherited from IMAPStore
static IMAPServiceInfos sm_infos

Detailed Description

IMAPS store service.

Constructor & Destructor Documentation

◆ IMAPSStore()

IMAPSStore ( shared_ptr< session > sess,
shared_ptr< security::authenticator > auth )

◆ ~IMAPSStore()

~IMAPSStore ( )

Member Function Documentation

◆ getInfos()

const serviceInfos & getInfos ( ) const
virtual

Return information about this service.

Returns
information about the service

Implements service.

◆ getInfosInstance()

const serviceInfos & getInfosInstance ( )
static

◆ getProtocolName()

const string getProtocolName ( ) const
virtual

Return the protocol name of this service.

Returns
protocol name

Implements service.


The documentation for this class was generated from the following files: