|
| ~RasServerEntry () |
|
void | startRpcServer () throw ( r_Error ) |
| forces the server to listen for client calls More...
|
|
void | stopRpcServer () |
| stops the server More...
|
|
void | compat_connectToDBMS () throw ( r_Error ) |
|
void | compat_connectNewClient (const char *capability) |
|
ClientTblElt * | getClientContext (unsigned long ClientId) |
| returns a pointer to the context of the calling client, 0 it there is no context More...
|
|
void | compat_disconnectClient () |
|
void | compat_openDB (const char *databaseName) |
|
void | compat_closeDB () |
|
void | compat_beginTA (bool rw) |
|
void | compat_commitTA () |
|
void | compat_abortTA () |
|
bool | compat_isOpenTA () |
|
int | compat_executeQueryHttp (const char *httpParams, int httpParamsLen, char *&resultBuffer) |
|
r_OId | compat_getNewOId (unsigned short objType) |
|
int | compat_executeQueryRpc (const char *query, ExecuteQueryRes &queryResult) |
|
int | compat_getNextElement (char *&buffer, unsigned int &bufferSize) |
|
int | compat_endTransfer () |
|
int | compat_getNextMDD (r_Minterval &mddDomain, char *&typeName, char *&typeStructure, r_OId &oid, unsigned short ¤tFormat) |
|
int | compat_getNextTile (RPCMarray **rpcMarray) |
|
int | compat_ExecuteUpdateQuery (const char *query, ExecuteUpdateRes &returnStructure) |
|
int | compat_InitUpdate () |
|
int | compat_StartInsertTransMDD (const char *domain, int typeLength, const char *typeName) |
|
int | compat_InsertTile (int persistent, RPCMarray *) |
|
int | compat_EndInsertMDD (int persistent) |
|
int | compat_GetTypeStructure (const char *typeName, int typeType, char *&typeStructure) |
|
int | compat_StartInsertPersMDD (const char *collName, r_Minterval &mddDomain, int typeLength, const char *typeName, r_OId &oid) |
|
int | compat_InsertMDD (const char *collName, RPCMarray *rpcMarray, const char *typeName, r_OId &oid) |
|
int | compat_InsertCollection (const char *collName, const char *typeName, r_OId &oid) |
|
int | compat_DeleteCollByName (const char *collName) |
|
int | compat_DeleteObjByOId (r_OId &oid) |
|
int | compat_RemoveObjFromColl (const char *collName, r_OId &oid) |
|
int | compat_GetCollectionByName (const char *collName, char *&typeName, char *&typeStructure, r_OId &oid) |
|
int | compat_GetCollectionByName (r_OId oid, char *&typeName, char *&typeStructure, char *&collName) |
|
int | compat_GetCollectionOidsByName (const char *collName, char *&typeName, char *&typeStructure, r_OId &oid, RPCOIdEntry *&oidTable, unsigned int &oidTableSize) |
|
int | compat_GetCollectionOidsByOId (r_OId oid, char *&typeName, char *&typeStructure, RPCOIdEntry *&oidTable, unsigned int &oidTableSize, char *&collName) |
|
int | compat_GetObjectType (r_OId &oid, unsigned short &objType) |
|
int | compat_SetTransferFormat (int format, const char *params) |
|
int | compat_SetStorageFormat (int format, const char *params) |
|
r_OId | createCollection (const char *collName, const char *collTypeName) |
|
r_OId | createMDD (const char *collName, const char *mddTypeName, const char *definitionDomain, const char *tileDomain, bool rcindex) |
|
void | extendMDD (r_OId mddOId, const char *stripeDomain, const char *tileDomain) |
|
vector< r_Minterval > | getTileDomains (r_OId mddOId, const char *stripeDomain) |
|
| HttpServer () |
| default constructor More...
|
|
| HttpServer (unsigned long timeOut, unsigned long managementInterval, unsigned long listenPort, char *rasmgrHost, unsigned int rasmgrPort, char *serverName) |
|
virtual | ~HttpServer () |
| destructor More...
|
|
virtual void | printServerStatus (ostream &s=cout) |
| print server status to { s} More...
|
|
virtual long | processRequest (unsigned long callingClientId, char *baseName, int rascommand, char *query, int binDataSize, char *binData, int Endianess, char *&result, char *capability) |
| Executes a retrieval query and prepare the result for HTTP transer. More...
|
|
| ServerComm () |
| default constructor More...
|
|
| ServerComm (unsigned long timeOut, unsigned long managementInterval, unsigned long listenPort, char *rasmgrHost, unsigned int rasmgrPort, char *serverName) |
| constructor getting the client time out and the time interval for management routines, together with listen port, rasmgr host and port and the server name More...
|
|
virtual | ~ServerComm () |
| destructor More...
|
|
void | informRasMGR (int) |
|
void | addClientTblEntry (ClientTblElt *context) throw ( r_Error ) |
| adds an entry to the client table (used in RasServerEntry) More...
|
|
unsigned short | deleteClientTblEntry (unsigned long ClientId) |
| deletes an entry of the client table (must be public because it is used in the global garbage collection function) More...
|
|
void | abortEveryThingNow () |
|
virtual void | getServerStatus (ServerStatRes &returnStruct) |
| get server status More...
|
|
const char * | getExtendedErrorInfo () |
|
void | setExtendedErrorInfo (const char *) |
|
void | clearExtendedErrorInfo () |
|
void | clientEndRequest () |
|
virtual unsigned short | aliveSignal (unsigned long client) |
| process the client's alive signal More...
|
|
virtual unsigned short | openDB (unsigned long callingClientId, const char *dbName, const char *userName) |
| open database More...
|
|
virtual unsigned short | closeDB (unsigned long callingClientId) |
| close current database More...
|
|
virtual unsigned short | createDB (char *name) |
| create a database More...
|
|
virtual unsigned short | destroyDB (char *name) |
| destroy a database More...
|
|
virtual unsigned short | beginTA (unsigned long callingClientId, unsigned short readOnly=0) |
| open transaction More...
|
|
virtual unsigned short | commitTA (unsigned long callingClientId) |
| commit current transaction More...
|
|
virtual unsigned short | abortTA (unsigned long callingClientId) |
| abort current transaction More...
|
|
virtual bool | isTAOpen (unsigned long callingClientId) |
| is transaction open currently? More...
|
|
virtual unsigned short | executeQuery (unsigned long callingClientId, const char *query, ExecuteQueryRes &returnStructure) |
| executes a retrieval query and prepares the result for transfer with {getNextMDD}. More...
|
|
virtual unsigned short | getNextMDD (unsigned long callingClientId, r_Minterval &mddDomain, char *&typeName, char *&typeStructure, r_OId &oid, unsigned short ¤tFormat) |
| get the domain of the next MDD of the actual transfer collection More...
|
|
virtual unsigned short | getNextElement (unsigned long callingClientId, char *&buffer, unsigned int &bufferSize) |
| get the next scalar element in the actual transfer collection. More...
|
|
virtual unsigned short | getMDDByOId (unsigned long callingClientId, r_OId &oid, r_Minterval &mddDomain, char *&typeName, char *&typeStructure, unsigned short ¤tFormat) |
| get an MDD by OId More...
|
|
virtual unsigned short | getNextTile (unsigned long callingClientId, RPCMarray **rpcMarray) |
| get next tile of the actual MDD of the actual transfer collection More...
|
|
virtual unsigned short | endTransfer (unsigned long client) |
| process the client's alive signal More...
|
|
virtual unsigned short | initExecuteUpdate (unsigned long callingClientId) |
| prepares transfer of MDD constants and execution of update query More...
|
|
virtual unsigned short | executeUpdate (unsigned long callingClientId, const char *query, ExecuteUpdateRes &returnStructure) |
| executes an update query More...
|
|
virtual unsigned short | startInsertTransMDD (unsigned long callingClientId, r_Minterval &domain, unsigned long typeLength, const char *typeName) |
| prepares an MDD (transient) for transfer of tiles More...
|
|
virtual unsigned short | startInsertPersMDD (unsigned long callingClientId, const char *collName, r_Minterval &domain, unsigned long typeLength, const char *typeName, r_OId &oid) |
| create a new persistent MDD object for tile based transfers More...
|
|
virtual unsigned short | insertTile (unsigned long callingClientId, int isPersistent, RPCMarray *rpcMarray) |
| insert a tile into a persistent MDD object More...
|
|
virtual unsigned short | insertTileSplitted (unsigned long callingClientId, int isPersistent, RPCMarray *rpcMarray, r_Minterval *tileSize) |
|
virtual unsigned short | endInsertMDD (unsigned long callingClientId, int isPersistent) |
| finnishes the MDD creation and inserts the MDD into the collection More...
|
|
virtual unsigned short | insertMDD (unsigned long callingClientId, const char *collName, RPCMarray *rpcMarray, const char *typeName, r_OId &oid) |
| insert object into collection More...
|
|
virtual unsigned short | getCollByName (unsigned long callingClientId, const char *collName, char *&typeName, char *&typeStructure, r_OId &oid) |
| prepare an MDD collection for transfer with getNextMDD() More...
|
|
virtual unsigned short | getCollByOId (unsigned long callingClientId, r_OId &oid, char *&typeName, char *&typeStructure, char *&collName) |
| prepare an MDD collection for transfer with getNextMDD() More...
|
|
virtual unsigned short | getCollOIdsByName (unsigned long callingClientId, const char *collName, char *&typeName, char *&typeStructure, r_OId &oid, RPCOIdEntry *&oidTable, unsigned int &oidTableSize) |
| gets oids of the collection specified by name More...
|
|
virtual unsigned short | getCollOIdsByOId (unsigned long callingClientId, r_OId &oid, char *&typeName, char *&typeStructure, RPCOIdEntry *&oidTable, unsigned int &oidTableSize, char *&collName) |
| gets oids of the collection specified by name More...
|
|
virtual unsigned short | insertColl (unsigned long callingClientId, const char *collName, const char *typeName, r_OId &oid) |
| create new MDD collection More...
|
|
virtual unsigned short | deleteCollByName (unsigned long callingClientId, const char *collName) |
| delete MDD collection More...
|
|
virtual unsigned short | deleteObjByOId (unsigned long callingClientId, r_OId &oid) |
| delete object by oid More...
|
|
virtual unsigned short | removeObjFromColl (unsigned long callingClientId, const char *collName, r_OId &oid) |
| remove object specified by oid from collection specified by name More...
|
|
virtual unsigned short | getNewOId (unsigned long callingClientId, unsigned short objType, r_OId &oid) |
| get new object identifier More...
|
|
virtual unsigned short | getObjectType (unsigned long callingClientId, r_OId &oid, unsigned short &objType) |
| get type of object by oid More...
|
|
virtual unsigned short | getTypeStructure (unsigned long callingClientId, const char *typeName, unsigned short typeType, char *&typeStructure) |
| get type structure of a type name More...
|
|
virtual unsigned short | setTransferMode (unsigned long callingClientId, unsigned short format, const char *formatParams) |
| set the data format used for transferring data to the client More...
|
|
virtual unsigned short | setStorageMode (unsigned long callingClientId, unsigned short format, const char *formatParams) |
| set the data format for storing data into the database More...
|
|