diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2018-12-01 19:59:51 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2018-12-01 19:59:51 +0100 |
| commit | 63ec195c36dc331cd77df721d45449a642e8a546 (patch) | |
| tree | f9fc76c1965b35258825959935b1112f34077918 /src/commander.cpp | |
| parent | 56e57082a7e543155fcf583d146f4e130456ca73 (diff) | |
| download | wanda-63ec195c36dc331cd77df721d45449a642e8a546.tar.xz wanda-63ec195c36dc331cd77df721d45449a642e8a546.zip | |
wandad: implement command handler for change
Diffstat (limited to 'src/commander.cpp')
| -rw-r--r-- | src/commander.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/commander.cpp b/src/commander.cpp index 83f3943..e2bf8c7 100644 --- a/src/commander.cpp +++ b/src/commander.cpp @@ -34,6 +34,12 @@ void commander::start() }); } +void commander::stop() +{ + m_logger->info("closing control connection"); + m_connection->close(); +} + void commander::send(command command) { using namespace wanda::std_ext; |
