ewmscp
..
|
class used to send messages via stdout. More...
Classes | |
class | flushDomain |
class to flush output on scope basis. More... | |
Public Member Functions | |
commandSender () | |
void | sendCommand (const char *command, std::chrono::system_clock::time_point when, const std::string &path) |
void | sendCommand (const char *command, std::chrono::system_clock::time_point when, const std::string &path1, const std::string &path2) |
void | flush () |
void | keepalive () |
Private Attributes | |
char | delimiter |
clock_type::time_point | lastSendTime |
bool | needFlush |
Static Private Attributes | |
static options::single< bool > | nullDelimiter |
static options::single< unsigned > | keepaliveTimeout |
class used to send messages via stdout.
Makes sure uniform format is produced for all messages, heelps to create keepalive messages
Definition at line 591 of file inotify_watch.cpp.
|
inline |
|
inline |
Definition at line 613 of file inotify_watch.cpp.
Referenced by keepalive(), and commandSender::flushDomain::~flushDomain().
|
inline |
Definition at line 616 of file inotify_watch.cpp.
References flush(), keepaliveTimeout, lastSendTime, and sendCommand().
Referenced by main().
|
inline |
Definition at line 602 of file inotify_watch.cpp.
References delimiter, lastSendTime, and needFlush.
Referenced by keepalive(), main(), and sendCommand().
|
inline |
Definition at line 608 of file inotify_watch.cpp.
References delimiter, and sendCommand().
|
private |
Definition at line 594 of file inotify_watch.cpp.
Referenced by commandSender(), and sendCommand().
|
staticprivate |
Definition at line 593 of file inotify_watch.cpp.
Referenced by keepalive().
|
private |
Definition at line 595 of file inotify_watch.cpp.
Referenced by keepalive(), and sendCommand().
|
private |
Definition at line 596 of file inotify_watch.cpp.
Referenced by commandSender::flushDomain::flushDomain(), sendCommand(), and commandSender::flushDomain::~flushDomain().
|
staticprivate |
Definition at line 592 of file inotify_watch.cpp.
Referenced by commandSender().