API Documentation
Loading...
Searching...
No Matches
ConnectionFactory Class Referenceabstract

#include <Connection.h>

Inheritance diagram for ConnectionFactory:
[legend]
Collaboration diagram for ConnectionFactory:
[legend]

Public Member Functions

virtual bool handlesType (const String &request) const =0
 
virtual bool canConnectTo (const ConnectionInfo &request) const
 
virtual ConnectionBackendcreateConnection (const ConnectionInfo &request)=0
 
virtual Buffer< ConnectionInfoavailableConnections (const ConnectionSearchParamaters &params)=0
 
virtual Buffer< ConnectionCategoryavailableConnectionCatagories ()=0
 

Static Public Member Functions

static ConnectionBackendCreateConnection (const ConnectionInfo &request)
 
static void RegisterConnectionFactory (ConnectionFactory *factory)
 
static Buffer< ConnectionInfoAvailableConnections (const ConnectionSearchParamaters &params)
 
static Buffer< ConnectionCategoryAvailableConnectionCatagories ()
 

Static Protected Attributes

static Buffer< ConnectionFactory * > s_registered_factories
 

Member Function Documentation

◆ AvailableConnectionCatagories()

Buffer< ConnectionCategory > AvailableConnectionCatagories ( )
static

◆ availableConnectionCatagories()

virtual Buffer< ConnectionCategory > availableConnectionCatagories ( )
pure virtual

◆ AvailableConnections()

Buffer< ConnectionInfo > AvailableConnections ( const ConnectionSearchParamaters & params)
static

◆ availableConnections()

◆ canConnectTo()

bool canConnectTo ( const ConnectionInfo & request) const
virtual

◆ CreateConnection()

ConnectionBackend * CreateConnection ( const ConnectionInfo & request)
static

◆ createConnection()

virtual ConnectionBackend * createConnection ( const ConnectionInfo & request)
pure virtual

◆ handlesType()

virtual bool handlesType ( const String & request) const
pure virtual

◆ RegisterConnectionFactory()

void RegisterConnectionFactory ( ConnectionFactory * factory)
static

Member Data Documentation

◆ s_registered_factories

Buffer< ConnectionFactory * > s_registered_factories
staticprotected

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