The purpose of this class is to: More...
#include <sscsm_controller.h>
Collaboration diagram for SSCSMController:Public Member Functions | |
| SSCSMController (std::unique_ptr< SSCSMEnvironment > thread, std::shared_ptr< StupidChannel > channel) | |
| ~SSCSMController () | |
| DISABLE_CLASS_COPY (SSCSMController) | |
| void | runEvent (Client *client, std::unique_ptr< ISSCSMEvent > event) |
Static Public Member Functions | |
| static std::unique_ptr< SSCSMController > | create () |
Private Member Functions | |
| SerializedSSCSMAnswer | handleRequest (Client *client, ISSCSMRequest *req) |
Private Attributes | |
| std::unique_ptr< SSCSMEnvironment > | m_thread |
| std::shared_ptr< StupidChannel > | m_channel |
The purpose of this class is to:
runEvent)See also SSCSMEnvironment for other side.
| SSCSMController::SSCSMController | ( | std::unique_ptr< SSCSMEnvironment > | thread, |
| std::shared_ptr< StupidChannel > | channel ) |
| SSCSMController::~SSCSMController | ( | ) |
References m_channel, m_thread, SSCSMRequestPollNextEvent::Answer::next_event, StupidChannel::sendB(), serializeSSCSMAnswer(), Thread::stop(), and Thread::wait().
Here is the call graph for this function:
|
static |
References deserializeSSCSMRequest(), and FATAL_ERROR_IF.
Referenced by Client::Client().
Here is the call graph for this function:
Here is the caller graph for this function:| SSCSMController::DISABLE_CLASS_COPY | ( | SSCSMController | ) |
|
private |
References ISSCSMRequest::exec().
Referenced by runEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| void SSCSMController::runEvent | ( | Client * | client, |
| std::unique_ptr< ISSCSMEvent > | event ) |
References deserializeSSCSMRequest(), StupidChannel::exchangeB(), handleRequest(), m_channel, SSCSMRequestPollNextEvent::Answer::next_event, and serializeSSCSMAnswer().
Referenced by Client::Client().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Referenced by ~SSCSMController(), and runEvent().
|
private |
Referenced by ~SSCSMController().