CUBRID Engine
latest
|
#include <client_credentials.hpp>
Public Attributes | |
std::string | db_name |
std::string | db_password |
char * | preferred_hosts |
int | connect_order |
Public Attributes inherited from clientids | |
db_client_type | client_type |
std::string | client_info |
std::string | db_user |
std::string | program_name |
std::string | login_name |
std::string | host_name |
int | process_id |
Additional Inherited Members | |
Static Public Attributes inherited from clientids | |
static const char * | UNKNOWN_ID = "(unknown)" |
Definition at line 82 of file client_credentials.hpp.
boot_client_credential::boot_client_credential | ( | ) |
Definition at line 198 of file client_credentials.cpp.
References connect_order, db_password, NULL, and preferred_hosts.
|
override |
Definition at line 207 of file client_credentials.cpp.
const char * boot_client_credential::get_db_name | ( | ) | const |
Definition at line 212 of file client_credentials.cpp.
References db_name.
Referenced by boot_get_host_name(), boot_initialize_client(), boot_restart_client(), boot_set_server_session_key(), xboot_initialize_server(), and xboot_register_client().
const char * boot_client_credential::get_db_password | ( | ) | const |
Definition at line 218 of file client_credentials.cpp.
References db_password.
Referenced by boot_restart_client().
|
overridevirtual |
Reimplemented from clientids.
Definition at line 231 of file client_credentials.cpp.
References BOOTCLCRED_PACKER_ARGS, cubpacking::packer::get_all_packed_size(), and clientids::get_packed_size().
|
overridevirtual |
Reimplemented from clientids.
Definition at line 237 of file client_credentials.cpp.
References BOOTCLCRED_PACKER_ARGS, clientids::pack(), and cubpacking::packer::pack_all().
|
overridevirtual |
Reimplemented from clientids.
Definition at line 244 of file client_credentials.cpp.
References BOOTCLCRED_PACKER_ARGS, clientids::unpack(), and cubpacking::unpacker::unpack_all().
int boot_client_credential::connect_order |
Definition at line 87 of file client_credentials.hpp.
Referenced by boot_client_credential(), boot_restart_client(), conn_restart_client(), and db_restart().
std::string boot_client_credential::db_name |
Definition at line 84 of file client_credentials.hpp.
Referenced by boot_initialize_client(), conn_restart_client(), db_init(), db_restart(), get_db_name(), and xboot_initialize_server().
std::string boot_client_credential::db_password |
Definition at line 85 of file client_credentials.hpp.
Referenced by boot_client_credential(), boot_restart_client(), conn_restart_client(), and get_db_password().
char* boot_client_credential::preferred_hosts |
Definition at line 86 of file client_credentials.hpp.
Referenced by boot_client_credential(), boot_restart_client(), and db_restart().