top | up | prev | next

ClientExecutionContext Class

Definition at line 14 of ClientExecutionContext.hpp

Constructors

ClientExecutionContext(const std::string& serverName)

Member Functions

BuildClient* GetClient() override
Connection* GetConnection() override

Member Variables

std::unique_ptr<SocketClient> socketClient

Constructor Details

ClientExecutionContext Constructor

cmajor::build::ClientExecutionContext::ClientExecutionContext(const std::string& serverName)

Definition at line 12 of ClientExecutionContext.cpp :
12 : ExecutionContext()
13 {
14     socketClient.reset(new SocketClient(GetLog()serverName));
15     socketClient->Run();
16 }


Declaration at line 17 of ClientExecutionContext.hpp


Member Function Details

GetClient Member Function

BuildClient* cmajor::build::ClientExecutionContext::GetClient() override

Definition at line 42 of ClientExecutionContext.cpp :
43 {
44     return socketClient->GetClient();
45 }


Declaration at line 19 of ClientExecutionContext.hpp

Base class overridden functions: cmajor::build::ExecutionContext::GetClient

Calls: cmajor::build::ClientExecutionContext::GetClient

Called by: cmajor::build::ClientExecutionContext::GetClient


GetConnection Member Function

Connection * cmajor::build::ClientExecutionContext::GetConnection() override

Definition at line 47 of ClientExecutionContext.cpp :
48 {
49     return socketClient->GetConnection();
50 }


Declaration at line 20 of ClientExecutionContext.hpp

Base class overridden functions: cmajor::build::ExecutionContext::GetConnection

Calls: cmajor::build::ClientExecutionContext::GetConnection

Called by: cmajor::build::ClientExecutionContext::GetConnection , cmajor::build::ClientExecutionContext::destructor


top | up | prev | next