top | up | prev | next

RemoveServerServerCommand Class

Definition at line 32 of ServerCommand.hpp

Constructors

RemoveServerServerCommand(const std::string& serverName_)

Member Functions

void Execute() override

Member Variables

std::string serverName

Constructor Details

RemoveServerServerCommand Constructor

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

Definition at line 53 of ServerCommand.cpp :
 53 : serverName(serverName_)
 54 {
 55 }


Declaration at line 35 of ServerCommand.hpp


Member Function Details

Execute Member Function

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

Definition at line 57 of ServerCommand.cpp :
 58 {
 59     ServerConfig::Instance().Remove(serverName);
 60     LogMessage(-1"server '" + serverName + "' removed");
 61 }


Declaration at line 36 of ServerCommand.hpp

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

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


top | up | prev | next