![]() |
GDBMS 1.0
|
#include <initial_mode_commands.h>
Static Public Member Functions | |
| static int | Connect (std::string user, std::string pass, struct ns1__ConnectResponse &_param_1) |
| Connect operation. | |
| static int | GetSessionId (int user_USCOREid, struct ns1__GetSessionIdResponse &_param_2) |
| Create session and get its id. | |
| static int | InitiateTransactionStop (std::string user, std::string pass, struct ns1__InitiateTransactionStopResponse &_param_30) |
| Rollbacks transactions. | |
Definition at line 1 of file initial_mode_commands.h.
| int initial_mode_commands::Connect | ( | std::string | user, |
| std::string | pass, | ||
| struct ns1__ConnectResponse & | _param_1 | ||
| ) | [static] |
Connect operation.
| user | the username, defined by the user. |
| pass | the password, used in authentication process |
| _param_1 | the return values parameter. |
This function is called by the web service operation Connect.
Definition at line 17 of file initial_mode_commands.cpp.
| int initial_mode_commands::GetSessionId | ( | int | user_USCOREid, |
| struct ns1__GetSessionIdResponse & | _param_2 | ||
| ) | [static] |
Create session and get its id.
| user_USCOREid | the id, the user has received by the Connect operation. |
| _param_2 | the alias of response structure which will hold the status code of the return value of the operation and id of the session |
This function attempts to create session and return the id of the session to the user.
Definition at line 43 of file initial_mode_commands.cpp.
| int initial_mode_commands::InitiateTransactionStop | ( | std::string | user, |
| std::string | pass, | ||
| struct ns1__InitiateTransactionStopResponse & | _param_30 | ||
| ) | [static] |
Rollbacks transactions.
| user | the username of the user. the user must be an administrator |
| pass | the password of the user |
| _param_30 | an alias of a return values structure |
This function rollbacks transactions. It is suitable to be called after a server reboot.
Definition at line 1617 of file GDBMS_USCOREbindingService.cpp.
1.7.4