top | up | prev | next

ServerInfo Class

Definition at line 22 of ServerConfig.hpp

Constructors

ServerInfo(const ServerInfo&) delete
ServerInfo(const std::string& serverName_, const std::string& host_, int port_, const std::string& defaultToolChain_)

Member Functions

const std::string& DefaultToolChain() const
const std::string& Host() const
int Port() const
void Print(CodeFormatter& formatter)
const std::string& ServerName() const
void SetDefaultToolChain(const std::string& defaultToolChain_)
void SetHost(const std::string& host_)
void SetPort(int port_)
ServerInfo& operator=(const ServerInfo&) delete

Member Variables

std::string defaultToolChain
std::string host
int port
std::string serverName

Constructor Details

ServerInfo Constructor

cmajor::build::ServerInfo::ServerInfo(const ServerInfo &) delete

Definition at line 26 of ServerConfig.hpp


ServerInfo Constructor

cmajor::build::ServerInfo::ServerInfo(const std::string& serverName_, const std::string& host_, int port_, const std::string& defaultToolChain_)

Definition at line 42 of ServerConfig.cpp :
 42 :
 43 serverName(serverName_)host(host_)port(port_)defaultToolChain(defaultToolChain_)
 44 {
 45 }


Declaration at line 25 of ServerConfig.hpp


Member Function Details

DefaultToolChain Member Function

const std::string& cmajor::build::ServerInfo::DefaultToolChain() const

Definition at line 33 of ServerConfig.hpp :
33 { return defaultToolChain; }

Called by: cmajor::build::SocketClient::Run


Host Member Function

const std::string& cmajor::build::ServerInfo::Host() const

Definition at line 29 of ServerConfig.hpp :
29 { return host; }

Called by: cmajor::build::SocketClient::Run


Port Member Function

int cmajor::build::ServerInfo::Port() const

Definition at line 31 of ServerConfig.hpp :
31 { return port; }

Called by: cmajor::build::SocketClient::Run


Print Member Function

void cmajor::build::ServerInfo::Print(CodeFormatter& formatter)

Definition at line 52 of ServerConfig.cpp

Called by: cmajor::build::ServerConfig::Show


ServerName Member Function

const std::string& cmajor::build::ServerInfo::ServerName() const

Definition at line 28 of ServerConfig.hpp :
28 { return serverName; }


SetDefaultToolChain Member Function

void cmajor::build::ServerInfo::SetDefaultToolChain(const std::string& defaultToolChain_)

Definition at line 47 of ServerConfig.cpp :
 48 {
 49     defaultToolChain = defaultToolChain_;
 50 }


Declaration at line 34 of ServerConfig.hpp

Called by: cmajor::build::ServerConfig::Add


SetHost Member Function

void cmajor::build::ServerInfo::SetHost(const std::string& host_)

Definition at line 30 of ServerConfig.hpp :
30 { host = host_; }

Called by: cmajor::build::ServerConfig::Add


SetPort Member Function

void cmajor::build::ServerInfo::SetPort(int port_)

Definition at line 32 of ServerConfig.hpp :
32 { port = port_; }

Called by: cmajor::build::ServerConfig::Add


operator= Member Function

ServerInfo & cmajor::build::ServerInfo::operator=(const ServerInfo &) delete

Definition at line 27 of ServerConfig.hpp


top | up | prev | next