|
| | RasnetClientComm (const std::string &rasmgrHost, int rasmgrPort=DEFAULT_PORT) |
| |
| | ~RasnetClientComm () noexcept override |
| |
| int | connectClient (const std::string &userName, const std::string &passwordHash) |
| |
| int | disconnectClient () |
| |
| int | openDB (const char *database) override |
| | Database methods. More...
|
| |
| int | closeDB () override |
| | close current database More...
|
| |
| int | createDB (const char *name) override |
| | create a database More...
|
| |
| int | destroyDB (const char *name) override |
| | destroy a database More...
|
| |
| int | openTA (unsigned short readOnly) override |
| | Transaction methods. More...
|
| |
| int | commitTA () override |
| | commit current transaction More...
|
| |
| int | abortTA () override |
| | abort current transaction More...
|
| |
| void | insertMDD (const char *collName, r_GMarray *mar) override |
| | MDD methods. More...
|
| |
| r_Ref_Any | getMDDByOId (const r_OId &oid) override |
| | gets MDD object by oid More...
|
| |
| void | insertColl (const char *collName, const char *typeName, const r_OId &oid) override |
| | Collection methods. More...
|
| |
| void | deleteCollByName (const char *collName) override |
| | deletes an MDD collection by name More...
|
| |
| void | deleteObjByOId (const r_OId &oid) override |
| | deletes an object by oid (right now, objects are collection only) More...
|
| |
| void | removeObjFromColl (const char *name, const r_OId &oid) override |
| | removes an object from a collection More...
|
| |
| r_Ref_Any | getCollByName (const char *name) override |
| | gets collection by name More...
|
| |
| r_Ref_Any | getCollByOId (const r_OId &oid) override |
| | gets collection by oid More...
|
| |
| r_Ref_Any | getCollOIdsByName (const char *name) override |
| | gets collection references by name More...
|
| |
| r_Ref_Any | getCollOIdsByOId (const r_OId &oid) override |
| | gets collection references by oid More...
|
| |
| void | executeQuery (const r_OQL_Query &query, r_Set< r_Ref_Any > &result) override |
| | Query methods. More...
|
| |
| void | executeQuery (const r_OQL_Query &query) override |
| | Executes an update query of type r_OQL_Query. More...
|
| |
| void | executeQuery (const r_OQL_Query &query, r_Set< r_Ref_Any > &result, int dummy) override |
| | Executes an insert query of type r_OQL_Query, returning the OId of the inserted array. More...
|
| |
| r_OId | getNewOId (unsigned short objType) override |
| | System methods. More...
|
| |
| unsigned short | getObjectType (const r_OId &oid) override |
| | get oid type More...
|
| |
| char * | getTypeStructure (const char *typeName, r_Type_Type typeType) override |
| | get type structure deallocate using delete [] More...
|
| |
| int | setTransferFormat (r_Data_Format format, const char *formatParams=nullptr) override |
| | Configuration methods. More...
|
| |
| int | setStorageFormat (r_Data_Format format, const char *formatParams=nullptr) override |
| | set the preferred storage format More...
|
| |
| void | setUserIdentification (const char *userName, const char *plainTextPassword) override |
| | user identification for RasMGR More...
|
| |
| void | setMaxRetry (unsigned int newMaxRetry) override |
| | set maximum retry to get a server More...
|
| |
| unsigned int | getMaxRetry () override |
| | get maximum retry to get a server More...
|
| |
| void | setTimeoutInterval (int seconds) override |
| | set communication timeout interval in seconds. More...
|
| |
| int | getTimeoutInterval () override |
| | get communication timeout interval in seconds. More...
|
| |
| virtual | ~ClientComm ()=default |
| | destructor (closes the connection and releases resources) More...
|
| |
| void | setDatabase (r_Database *database) |
| | sets the database that is using this client communicator More...
|
| |
| void | setTransaction (r_Transaction *transaction) |
| | sets the transaction that is using this client communicator More...
|
| |
| virtual void | updateTransaction () |
| | resets to the global r_Transaction::actual_transaction if necessary More...
|
| |