This helper class lets us and the user safely close the CommandServer's network service, which is nice as it is using blocking IO and it's a major PITA to cancel that. More...
#include <commandserver.h>
Inherits LibGeoDecomp::RemoteSteererHelpers::Action< CELL_TYPE >.
Public Member Functions | |
QuitAction (bool *continueFlag) | |
void | operator() (const StringVec ¶meters, Pipe &pipe) |
Private Attributes | |
bool * | continueFlag |
This helper class lets us and the user safely close the CommandServer's network service, which is nice as it is using blocking IO and it's a major PITA to cancel that.
LibGeoDecomp::RemoteSteererHelpers::CommandServer< CELL_TYPE >::QuitAction::QuitAction | ( | bool * | continueFlag | ) | [inline, explicit] |
void LibGeoDecomp::RemoteSteererHelpers::CommandServer< CELL_TYPE >::QuitAction::operator() | ( | const StringVec & | parameters, | |
Pipe & | pipe | |||
) | [inline, virtual] |
bool* LibGeoDecomp::RemoteSteererHelpers::CommandServer< CELL_TYPE >::QuitAction::continueFlag [private] |