top | up | prev | next

RequestHandler Abstract Class

Definition at line 63 of MessageHandler.hpp

Member Functions

void Handle(BuildProjectRequest& request) 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(ShowBuildMessageResponse& response) override
std::string Name() const pure virtual

Member Function Details

Handle Member Function

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

Definition at line 106 of MessageHandler.cpp :
107 {
108     throw std::runtime_error(Name() + ": unexpected build-project-request received");
109 }


Declaration at line 73 of MessageHandler.hpp

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

Calls: cmajor::build::RequestHandler::Name


Handle Member Function

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

Definition at line 121 of MessageHandler.cpp :
122 {
123     throw std::runtime_error(Name() + ": unexpected close-connection-request received");
124 }


Declaration at line 76 of MessageHandler.hpp

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

Calls: cmajor::build::RequestHandler::Name


Handle Member Function

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

Definition at line 116 of MessageHandler.cpp :
117 {
118     throw std::runtime_error(Name() + ": unexpected error-response[" + response.body.error + "] received");
119 }


Declaration at line 75 of MessageHandler.hpp

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

Calls: cmajor::build::RequestHandler::Name


Handle Member Function

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

Definition at line 96 of MessageHandler.cpp :
 97 {
 98     throw std::runtime_error(Name() + ": unexpected push-project-file-content-request received");
 99 }


Declaration at line 71 of MessageHandler.hpp

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

Calls: cmajor::build::RequestHandler::Name


Handle Member Function

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

Definition at line 101 of MessageHandler.cpp :
102 {
103     throw std::runtime_error(Name() + ": unexpected push-project-file-content-response received");
104 }


Declaration at line 72 of MessageHandler.hpp

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

Calls: cmajor::build::RequestHandler::Name


Handle Member Function

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

Definition at line 86 of MessageHandler.cpp :
 87 {
 88     throw std::runtime_error(Name() + ": unexpected push-project-file-request received");
 89 }


Declaration at line 69 of MessageHandler.hpp

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

Calls: cmajor::build::RequestHandler::Name


Handle Member Function

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

Definition at line 91 of MessageHandler.cpp :
 92 {
 93     throw std::runtime_error(Name() + ": unexpected push-project-file-response received");
 94 }


Declaration at line 70 of MessageHandler.hpp

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

Calls: cmajor::build::RequestHandler::Name


Handle Member Function

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

Definition at line 76 of MessageHandler.cpp :
 77 {
 78     throw std::runtime_error(Name() + ": unexpected push-project-request received");
 79 }


Declaration at line 67 of MessageHandler.hpp

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

Calls: cmajor::build::RequestHandler::Name


Handle Member Function

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

Definition at line 81 of MessageHandler.cpp :
 82 {
 83     throw std::runtime_error(Name() + ": unexpected push-project-response received");
 84 }


Declaration at line 68 of MessageHandler.hpp

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

Calls: cmajor::build::RequestHandler::Name


Handle Member Function

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

Definition at line 111 of MessageHandler.cpp :
112 {
113     throw std::runtime_error(Name() + ": unexpected show-build-message-response received");
114 }


Declaration at line 74 of MessageHandler.hpp

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

Calls: cmajor::build::RequestHandler::Name


Name Member Function

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

Definition at line 66 of MessageHandler.hpp

Called by: cmajor::build::RequestHandler::Handle , cmajor::build::RequestHandler::Handle , cmajor::build::RequestHandler::Handle , cmajor::build::RequestHandler::Handle , cmajor::build::RequestHandler::Handle , cmajor::build::RequestHandler::Handle , cmajor::build::RequestHandler::Handle , cmajor::build::RequestHandler::Handle , cmajor::build::RequestHandler::Handle , cmajor::build::RequestHandler::Handle


top | up | prev | next