diff options
Diffstat (limited to 'src/Daemon/CommLayerServer.cpp')
| -rw-r--r-- | src/Daemon/CommLayerServer.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/Daemon/CommLayerServer.cpp b/src/Daemon/CommLayerServer.cpp new file mode 100644 index 0000000..328986e --- /dev/null +++ b/src/Daemon/CommLayerServer.cpp @@ -0,0 +1,24 @@ +#include "CommLayerServer.h" +#include <iostream> + +CCommLayerServer::CCommLayerServer() +{ +} + +CCommLayerServer::~CCommLayerServer() +{ +} + +void CCommLayerServer::Attach(CObserver *pObs) +{ + m_pObserver = pObs; +} +void CCommLayerServer::Detach(CObserver *pObs) +{ + m_pObserver = NULL; +} +void CCommLayerServer::Notify(const std::string& pMessage) +{ + if(m_pObserver) + m_pObserver->Status(pMessage); +} |
