Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Poco::Net::CertificateHandlerFactoryMgr Class Reference

A CertificateHandlerFactoryMgr manages all existing CertificateHandlerFactories. More...

#include <CertificateHandlerFactoryMgr.h>

Public Types

using FactoriesMap = std::map<std::string, Poco::SharedPtr<CertificateHandlerFactory>>
 

Public Member Functions

 CertificateHandlerFactoryMgr ()
 
 ~CertificateHandlerFactoryMgr ()
 Creates the CertificateHandlerFactoryMgr.
 
void setFactory (const std::string &name, CertificateHandlerFactory *pFactory)
 Destroys the CertificateHandlerFactoryMgr.
 
bool hasFactory (const std::string &name) const
 
const CertificateHandlerFactorygetFactory (const std::string &name) const
 Returns true if for the given name a factory is already registered.
 
void removeFactory (const std::string &name)
 Returns NULL if for the given name a factory does not exist, otherwise the factory is returned.
 

Private Attributes

FactoriesMap _factories
 Removes the factory from the manager.
 

Detailed Description

A CertificateHandlerFactoryMgr manages all existing CertificateHandlerFactories.

Definition at line 31 of file CertificateHandlerFactoryMgr.h.

Member Typedef Documentation

◆ FactoriesMap

Constructor & Destructor Documentation

◆ CertificateHandlerFactoryMgr()

Poco::Net::CertificateHandlerFactoryMgr::CertificateHandlerFactoryMgr ( )

◆ ~CertificateHandlerFactoryMgr()

Poco::Net::CertificateHandlerFactoryMgr::~CertificateHandlerFactoryMgr ( )

Member Function Documentation

◆ getFactory()

const CertificateHandlerFactory * Poco::Net::CertificateHandlerFactoryMgr::getFactory ( const std::string & name) const

Returns true if for the given name a factory is already registered.

◆ hasFactory()

bool Poco::Net::CertificateHandlerFactoryMgr::hasFactory ( const std::string & name) const

Registers the factory. Class takes ownership of the pointer. If a factory with the same name already exists, an exception is thrown.

◆ removeFactory()

void Poco::Net::CertificateHandlerFactoryMgr::removeFactory ( const std::string & name)

Returns NULL if for the given name a factory does not exist, otherwise the factory is returned.

◆ setFactory()

void Poco::Net::CertificateHandlerFactoryMgr::setFactory ( const std::string & name,
CertificateHandlerFactory * pFactory )

Member Data Documentation

◆ _factories

FactoriesMap Poco::Net::CertificateHandlerFactoryMgr::_factories
private

Removes the factory from the manager.

Definition at line 57 of file CertificateHandlerFactoryMgr.h.


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