top | up | prev | next

SocketClient Class

Definition at line 14 of SocketClient.hpp

Constructors

SocketClient(Log* log_, const std::string& serverName_)

Member Functions

void Exit() override
BuildClient* GetClient() const
Connection* GetConnection() const
const std::string& Name() const override
void Run()

Member Variables

std::unique_ptr<BuildClient> buildClient
std::unique_ptr<SocketConnection> connection
Log* log
std::string name
std::string serverName
TcpSocket socket

Constructor Details

SocketClient Constructor

cmajor::build::SocketClient::SocketClient(Log * log_, const std::string& serverName_)

Definition at line 16 of SocketClient.cpp :
16 : log(log_)name("socket client")serverName(serverName_)socket()
17 {
18 }


Declaration at line 17 of SocketClient.hpp


Member Function Details

Exit Member Function

void cmajor::build::SocketClient::Exit() override

Definition at line 62 of SocketClient.cpp :
63 {
64 }


Declaration at line 20 of SocketClient.hpp

Base class overridden functions: cmajor::build::Host::Exit


GetClient Member Function

BuildClient* cmajor::build::SocketClient::GetClient() const

Definition at line 21 of SocketClient.hpp :
21 { return buildClient.get(); }


GetConnection Member Function

Connection * cmajor::build::SocketClient::GetConnection() const

Definition at line 22 of SocketClient.hpp :
22 { return connection.get(); }


Name Member Function

const std::string& cmajor::build::SocketClient::Name() const override

Definition at line 20 of SocketClient.cpp :
21 {
22     return name;
23 }


Declaration at line 18 of SocketClient.hpp

Base class overridden functions: cmajor::build::Host::Name


Run Member Function

void cmajor::build::SocketClient::Run()

Definition at line 25 of SocketClient.cpp
Declaration at line 19 of SocketClient.hpp

Calls: cmajor::build::ServerConfig::GetServerInfo , cmajor::build::ServerConfig::Instance , cmajor::build::ServerInfo::DefaultToolChain , cmajor::build::ServerInfo::Host , cmajor::build::ServerInfo::Port


top | up | prev | next