FREEDM DGI
Classes | Namespaces
CDispatcher.hpp File Reference
#include "messages/ModuleMessage.pb.h"
#include <boost/noncopyable.hpp>
#include <boost/smart_ptr/shared_ptr.hpp>
#include <boost/thread/mutex.hpp>
#include <map>
#include <string>

Go to the source code of this file.

Classes

class  freedm::broker::CDispatcher
 Handles applying read handlers to incoming messages. More...
 

Namespaces

 freedm
 General FREEDM Namespace.
 
 freedm::broker
 Broker Architecture Namespace.
 

Detailed Description

Author
Derek Ditch derek.nosp@m..dit.nosp@m.ch@ms.nosp@m.t.ed.nosp@m.u
Michael Catanzaro micha.nosp@m.el.c.nosp@m.atanz.nosp@m.aro@.nosp@m.mst.e.nosp@m.du
Project:
FREEDM DGI
Description:
Implements the CDispatcher class. This class implements the "Broker" pattern from POSA1[1]. This implementation is modelled after the Boost.Asio "http server 1" example[2].
citations:
[1] Frank Buschmann, Regine Meunier, Hans Rohnert, Peter Sommerlad, and Michael Stal. Pattern-Oriented Software Architecture Volume 1: A System of Patterns. Wiley, 1 ed, August 1996.

[2] Boost.Asio Examples http://www.boost.org/doc/libs/1_41_0/doc/html/boost_asio/examples.html