![]() |
Qore EmpathicBuildingDataProvider Module Reference 1.1
|
EmpathicBuilding REST connection. More...
#include <EmpathicBuildingRestConnection.qc.dox.h>
Public Member Functions | |
| constructor (hash< auto > config, *hash< auto > attr) | |
| creates the EmpathicBuildingRestConnection object | |
| DataProvider::AbstractDataProvider | getDataProvider (*hash< auto > constructor_options) |
| returns a data provider object for this connection | |
| string | getType () |
returns "ebrests" | |
Public Attributes | |
| const | ConnectionScheme = ... |
| Connection entry info. | |
Protected Member Functions | |
| hash< ConnectionSchemeInfo > | getConnectionSchemeInfoImpl () |
| Returns the connection scheme for this class. | |
| RestClient | getImpl (bool connect=True, *hash< auto > rtopts) |
| returns a RestClient object | |
| *hash< auto > | processOAuth2TokenResponseImpl (hash< auto > resp) |
| Processes login responses and returns updated options. | |
| setFeatures () | |
| Sets features during REST client initialization. | |
EmpathicBuilding REST connection.
| EmpathicBuildingDataProvider::EmpathicBuildingRestConnection::constructor | ( | hash< auto > | config, |
| *hash< auto > | attr ) |
creates the EmpathicBuildingRestConnection object
| config | with the following keys:
|
| attr | optional connection attributes
|
| CONNECTION-OPTION-ERROR | missing or invalid connection option or attribute |
| DataProvider::AbstractDataProvider EmpathicBuildingDataProvider::EmpathicBuildingRestConnection::getDataProvider | ( | *hash< auto > | constructor_options | ) |
returns a data provider object for this connection
| constructor_options | any additional constructor options for the data provider |
|
protected |
returns a RestClient object
| connect | if True, then the connection is returned already connected |
| rtopts | this connection type does not accept any runtime options, so this parameter is ignored |