Skip to content

Struct boot_client_credential

ClassList > boot_client_credential

  • #include <client_credentials.hpp>

Inherits the following classes: clientids

Public Attributes

Type Name
int connect_order
std::string db_name
std::string db_password
char * preferred_hosts

Public Attributes inherited from clientids

See clientids

Type Name
std::string client_info
std::string client_ip_addr
db_client_type client_type
std::string db_user
std::string host_name
std::string login_name
int process_id
std::string program_name

Public Static Attributes inherited from clientids

See clientids

Type Name
const char * UNKNOWN_ID = "(unknown)"

Public Functions

Type Name
boot_client_credential ()
const char * get_db_name () const
const char * get_db_password () const
virtual size_t get_packed_size (cubpacking::packer & serializator, std::size_t start_offset=0) override const
virtual void pack (cubpacking::packer & serializator) override const
virtual void unpack (cubpacking::unpacker & deserializator) override
~boot_client_credential () override

Public Functions inherited from clientids

See clientids

Type Name
clientids ()
const char * get_client_info () const
const char * get_client_ip_addr () const
const char * get_db_user () const
const char * get_host_name () const
const char * get_login_name () const
virtual size_t get_packed_size (cubpacking::packer & serializator, std::size_t start_offset=0) override const
const char * get_program_name () const
virtual void pack (cubpacking::packer & serializator) override const
void reset ()
void set_ids (db_client_type type, const char * client_info, const char * db_user, const char * program_name, const char * login_name, const char * host_name, const char * client_ip_addr, int process_id)
void set_ids (const clientids & other)
void set_system_internal ()
void set_system_internal_with_user (const char * db_user)
void set_user (const char * db_user)
virtual void unpack (cubpacking::unpacker & deserializator) override
~clientids () override

Public Functions inherited from cubpacking::packable_object

See cubpacking::packable_object

Type Name
virtual size_t get_packed_size (packer & serializator, std::size_t start_offset=0) const = 0
virtual bool is_equal (const packable_object * other)
virtual void pack (packer & serializator) const = 0
virtual void unpack (unpacker & deserializator) = 0
virtual ~packable_object ()

Public Attributes Documentation

variable connect_order

int boot_client_credential::connect_order;

variable db_name

std::string boot_client_credential::db_name;

variable db_password

std::string boot_client_credential::db_password;

variable preferred_hosts

char* boot_client_credential::preferred_hosts;

Public Functions Documentation

function boot_client_credential

boot_client_credential::boot_client_credential () 

function get_db_name

const  char * boot_client_credential::get_db_name () const

function get_db_password

const  char * boot_client_credential::get_db_password () const

function get_packed_size

virtual size_t boot_client_credential::get_packed_size (
    cubpacking::packer & serializator,
    std::size_t start_offset=0
) override const

Implements clientids::get_packed_size


function pack

virtual void boot_client_credential::pack (
    cubpacking::packer & serializator
) override const

Implements clientids::pack


function unpack

virtual void boot_client_credential::unpack (
    cubpacking::unpacker & deserializator
) override

Implements clientids::unpack


function ~boot_client_credential

boot_client_credential::~boot_client_credential () override


The documentation for this class was generated from the following file cubrid/src/transaction/client_credentials.hpp