7#ifndef session_h_included
8#define session_h_included
23 std::map<std::string, std::string>
attrs;
46 bool hasEnv(
const std::string &key)
const;
47 std::string
getEnv(
const std::string &key);
48 void setEnv(
const std::string &key,
const std::string &value);
67 const std::string &
getIP(
void)
const;
74 void setIP(
const std::string &ip);
101 mutable std::string lastError;
102 mutable std::string responseCode;
105 std::string hostname;
Declaration of the argument parser class.
void setLogFacility(int facility)
const int getState(void) const
bool initialize(int argc, char *argv[])
int getLogFacility(void) const
void setEnv(const std::string &key, const std::string &value)
void assignCommandLineArgs(void)
void setLastError(const std::string &error) const
const std::string & getIP(void) const
void setUserID(const std::string &s)
const std::string & getLastError(void) const
void setIP(const std::string &ip)
std::map< std::string, std::string > attrs
Depot * getDepot(void) const
const std::string & getUserID() const
int getBodies(void) const
void setResponseCode(const std::string &error) const
int getWriteBytes(void) const
int getReadBytes(void) const
struct Binc::Session::@3 command
const std::string & getHostname(void)
int getStatements(void) const
void clearResponseCode(void) const
bool parseCommandLine(int argc, char *argv[])
static Session & getInstance(void)
const std::string & getResponseCode(void) const
std::string getEnv(const std::string &key)
bool hasEnv(const std::string &key) const