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

Stores factories that can be registered for creating Connections of various types. More...

#include <Connection.h>

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

Public Member Functions

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

Static Public Member Functions

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

Static Protected Attributes

static Buffer< ConnectionFactory * > s_registered_factories
 

Detailed Description

Stores factories that can be registered for creating Connections of various types.


Member Function Documentation

◆ AvailableConnectionCatagories()

static Buffer< ConnectionCategory > AvailableConnectionCatagories ( )
static

◆ availableConnectionCatagories()

◆ AvailableConnections()

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

◆ availableConnections()

◆ canConnectTo()

virtual bool canConnectTo ( const ConnectionInfo & request) const
virtual

◆ CreateConnection()

static ConnectionBackend * CreateConnection ( const ConnectionInfo & request)
static

◆ createConnection()

◆ handlesType()

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

◆ RegisterConnectionFactory()

static 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 file: