top | up | prev | next

Requester Abstract Class

Definition at line 44 of MessageHandler.hpp

Member Functions

std::string GetStateStr() const pure virtual
void Handle(BuildProjectRequest& request) override
void Handle(BuildProjectResponse& response) override
void Handle(CloseConnectionRequest& request) override
void Handle(ErrorResponse& response) override
void Handle(PushProjectFileContentRequest& request) override
void Handle(PushProjectFileContentResponse& response) override
void Handle(PushProjectFileRequest& request) override
void Handle(PushProjectFileResponse& response) override
void Handle(PushProjectRequest& request) override
void Handle(PushProjectResponse& response) override
void Handle(ShowBuildMessageRequest& request) override
void Handle(ShowBuildMessageResponse& response) override
std::string Name() const pure virtual

Member Function Details

GetStateStr Member Function

std::string cmajor::build::Requester::GetStateStr() const pure virtual

Definition at line 48 of MessageHandler.hpp

Called by: cmajor::build::Requester::Handle , cmajor::build::Requester::Handle , cmajor::build::Requester::Handle , cmajor::build::Requester::Handle , cmajor::build::Requester::Handle , cmajor::build::Requester::Handle , cmajor::build::Requester::Handle , cmajor::build::Requester::Handle , cmajor::build::Requester::Handle , cmajor::build::Requester::Handle


Handle Member Function

void cmajor::build::Requester::Handle(BuildProjectRequest & request) override

Definition at line 46 of MessageHandler.cpp :
 47 {
 48     throw std::runtime_error(Name() + ": unexpected build-project-request receivced, requester state=" + GetStateStr());
 49 }


Declaration at line 55 of MessageHandler.hpp

Base class overridden functions: cmajor::build::MessageHandler::Handle

Calls: cmajor::build::Requester::GetStateStr , cmajor::build::Requester::Name


Handle Member Function

void cmajor::build::Requester::Handle(BuildProjectResponse & response) override

Definition at line 51 of MessageHandler.cpp :
 52 {
 53     throw std::runtime_error(Name() + ": unexpected build-project-response received, requester state=" + GetStateStr());
 54 }


Declaration at line 56 of MessageHandler.hpp

Base class overridden functions: cmajor::build::MessageHandler::Handle

Calls: cmajor::build::Requester::GetStateStr , cmajor::build::Requester::Name


Handle Member Function

void cmajor::build::Requester::Handle(CloseConnectionRequest & request) override

Definition at line 71 of MessageHandler.cpp :
 72 {
 73     throw std::runtime_error(Name() + ": unexpected close-connection-request received, requester state=" + GetStateStr());
 74 }


Declaration at line 60 of MessageHandler.hpp

Base class overridden functions: cmajor::build::MessageHandler::Handle

Calls: cmajor::build::Requester::GetStateStr , cmajor::build::Requester::Name


Handle Member Function

void cmajor::build::Requester::Handle(ErrorResponse & response) override

Definition at line 66 of MessageHandler.cpp :
 67 {
 68     throw std::runtime_error(Name() + ": unexpected error-response[\"" + response.body.error + "\"] received, requester state=" + GetStateStr());
 69 }


Declaration at line 59 of MessageHandler.hpp

Base class overridden functions: cmajor::build::MessageHandler::Handle

Calls: cmajor::build::Requester::GetStateStr , cmajor::build::Requester::Name


Handle Member Function

void cmajor::build::Requester::Handle(PushProjectFileContentRequest & request) override

Definition at line 36 of MessageHandler.cpp :
 37 {
 38     throw std::runtime_error(Name() + ": unexpected push-project-file-content-request received, requester state=" + GetStateStr());
 39 }


Declaration at line 53 of MessageHandler.hpp

Base class overridden functions: cmajor::build::MessageHandler::Handle

Calls: cmajor::build::Requester::GetStateStr , cmajor::build::Requester::Name


Handle Member Function

void cmajor::build::Requester::Handle(PushProjectFileContentResponse & response) override

Definition at line 41 of MessageHandler.cpp :
 42 {
 43     throw std::runtime_error(Name() + ": unexpected push-project-file-content-response received, requester state=" + GetStateStr());
 44 }


Declaration at line 54 of MessageHandler.hpp

Base class overridden functions: cmajor::build::MessageHandler::Handle

Calls: cmajor::build::Requester::GetStateStr , cmajor::build::Requester::Name


Handle Member Function

void cmajor::build::Requester::Handle(PushProjectFileRequest & request) override

Definition at line 26 of MessageHandler.cpp :
 27 {
 28     throw std::runtime_error(Name() + ": unexpected push-project-file-request received, requester state=" + GetStateStr());
 29 }


Declaration at line 51 of MessageHandler.hpp

Base class overridden functions: cmajor::build::MessageHandler::Handle

Calls: cmajor::build::Requester::GetStateStr , cmajor::build::Requester::Name


Handle Member Function

void cmajor::build::Requester::Handle(PushProjectFileResponse & response) override

Definition at line 31 of MessageHandler.cpp :
 32 {
 33     throw std::runtime_error(Name() + ": unexpected push-project-file-response received, requester state=" + GetStateStr());
 34 }


Declaration at line 52 of MessageHandler.hpp

Base class overridden functions: cmajor::build::MessageHandler::Handle

Calls: cmajor::build::Requester::GetStateStr , cmajor::build::Requester::Name


Handle Member Function

void cmajor::build::Requester::Handle(PushProjectRequest & request) override

Definition at line 16 of MessageHandler.cpp :
 17 {
 18     throw std::runtime_error(Name() + ": unexpected push-project-request received, requester state=" + GetStateStr());
 19 }


Declaration at line 49 of MessageHandler.hpp

Base class overridden functions: cmajor::build::MessageHandler::Handle

Calls: cmajor::build::Requester::GetStateStr , cmajor::build::Requester::Name


Handle Member Function

void cmajor::build::Requester::Handle(PushProjectResponse & response) override

Definition at line 21 of MessageHandler.cpp :
 22 {
 23     throw std::runtime_error(Name() + ": unexpected push-project-response received, requester state=" + GetStateStr());
 24 }


Declaration at line 50 of MessageHandler.hpp

Base class overridden functions: cmajor::build::MessageHandler::Handle

Calls: cmajor::build::Requester::GetStateStr , cmajor::build::Requester::Name


Handle Member Function

void cmajor::build::Requester::Handle(ShowBuildMessageRequest & request) override

Definition at line 56 of MessageHandler.cpp :
 57 {
 59 }


Declaration at line 57 of MessageHandler.hpp

Base class overridden functions: cmajor::build::MessageHandler::Handle


Handle Member Function

void cmajor::build::Requester::Handle(ShowBuildMessageResponse & response) override

Definition at line 61 of MessageHandler.cpp :
 62 {
 64 }


Declaration at line 58 of MessageHandler.hpp

Base class overridden functions: cmajor::build::MessageHandler::Handle


Name Member Function

std::string cmajor::build::Requester::Name() const pure virtual

Definition at line 47 of MessageHandler.hpp

Called by: cmajor::build::Requester::Handle , cmajor::build::Requester::Handle , cmajor::build::Requester::Handle , cmajor::build::Requester::Handle , cmajor::build::Requester::Handle , cmajor::build::Requester::Handle , cmajor::build::Requester::Handle , cmajor::build::Requester::Handle , cmajor::build::Requester::Handle , cmajor::build::Requester::Handle


top | up | prev | next