Rev 1309 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| SVN
| RSS feed
/*
* Monitor.cpp
*
* Created on: Jul 22, 2009
* Author: Mattias Runge
*/
#include "Monitor.h"
namespace atom {
namespace subscribers {
Monitor::Monitor(Broker::pointer broker) : Subscriber(broker, true)
{
LOG.setName("MonitorSubscriber");
this->start();
}
Monitor::~Monitor()
{
}
void Monitor::onNewMessage(Message::pointer message)
{
LOG.info(message->toString());
// TODO print origin of message also
}
}
}