18 #ifndef ConfigRetriever_H
19 #define ConfigRetriever_H
21 #include <ndb_types.h>
23 #include <BaseString.hpp>
33 const char * _bind_address = 0,
34 int timeout_ms = 30000);
37 int do_connect(
int no_retries,
int retry_delay_in_seconds,
int verbose);
56 const char * getErrorString();
61 Uint32
allocNodeId(
int no_retries,
int retry_delay_in_seconds);
63 int setNodeId(Uint32 nodeid);
80 Uint32 get_mgmd_port()
const;
81 const char *get_mgmd_host()
const;
82 const char *get_connectstring(
char *
buf,
int buf_sz)
const;
85 void end_session(
bool end) { m_end_session= end; };
87 Uint32 get_configuration_nodeid()
const;
94 ErrorType latestErrorType;
96 void setError(ErrorType,
const char * errorMsg);