top | up | prev | next

RemoveServerClientCommand Class

Definition at line 47 of ClientCommand.hpp

Constructors

RemoveServerClientCommand(const std::string& serverName_)

Member Functions

void Execute() override

Member Variables

std::string serverName

Constructor Details

RemoveServerClientCommand Constructor

cmajor::build::RemoveServerClientCommand::RemoveServerClientCommand(const std::string& serverName_)

Definition at line 112 of ClientCommand.cpp :
112 : serverName(serverName_)
113 {
114 }


Declaration at line 50 of ClientCommand.hpp


Member Function Details

Execute Member Function

void cmajor::build::RemoveServerClientCommand::Execute() override

Definition at line 116 of ClientCommand.cpp :
117 {
118     ServerConfig::Instance().Remove(serverName);
119     LogMessage(-1"server '" + serverName + "' removed");
120 }


Declaration at line 51 of ClientCommand.hpp

Base class overridden functions: cmajor::build::ClientCommand::Execute

Calls: cmajor::build::ServerConfig::Instance , cmajor::build::ServerConfig::Remove


top | up | prev | next