HiveMind
MessageHandlerContainer.h
Go to the documentation of this file.
1 #ifndef __MESSAGEHANDLERCONTAINER_H_
2 #define __MESSAGEHANDLERCONTAINER_H_
3 
6 #include "MessageDispatcher.h"
7 #include "MessageSender.h"
8 #include <NotificationQueue.h>
9 #include <ThreadSafeQueue.h>
10 #include <pheromones/IHiveMindHostDeserializer.h>
11 #include <pheromones/IHiveMindHostSerializer.h>
12 #include <pheromones/MessageDTO.h>
13 
15 
20 
25 
30  IHiveMindHostDeserializer& deserializer,
31  IHiveMindHostApiRequestHandler& hivemindApiReqHandler,
32  IHiveConnectHiveMindApiMessageHandler& hiveconnectApiMessageHandler,
33  IGreetSender& greetSender);
34 
38  ThreadSafeQueue<MessageDTO>& getBuzzMsgQueue();
39 
43  NotificationQueue<MessageDTO>& getHostMsgQueue();
44 
48  NotificationQueue<MessageDTO>& getRemoteMsgQueue();
49 
53  NotificationQueue<MessageDTO>& getInterlocMsgQueue();
54 
55 } // namespace MessageHandlerContainer
56 
57 #endif // __MESSAGEHANDLERCONTAINER_H_
HiveMindHostApiRequestHandler
Definition: HiveMindHostApiRequestHandler.h:10
MessageHandlerContainer::getBuzzMsgQueue
ThreadSafeQueue< MessageDTO > & getBuzzMsgQueue()
get the buzz message queue
Definition: MessageHandlerContainer.cpp:35
HiveMindHostApiRequestHandler.h
IHiveMindHostApiRequestHandler
Handles HiveMindApi requests and sends the response to the appropriate target.
Definition: IHiveMindHostApiRequestHandler.h:10
HiveConnectHiveMindApiMessageHandler
Definition: HiveConnectHiveMindApiMessageHandler.h:10
MessageHandlerContainer::getRemoteMsgQueue
NotificationQueue< MessageDTO > & getRemoteMsgQueue()
get the remote message queue
Definition: MessageHandlerContainer.cpp:57
HiveConnectHiveMindApiMessageHandler.h
MessageHandlerContainer::createMessageDispatcher
MessageDispatcher createMessageDispatcher(IHiveMindHostDeserializer &deserializer, IHiveMindHostApiRequestHandler &hivemindApiReqHandler, IHiveConnectHiveMindApiMessageHandler &hiveconnectApiMessageHandler, IGreetSender &greetSender)
create a message dispatcher
Definition: MessageHandlerContainer.cpp:24
MessageHandlerContainer::createHiveMindHostApiRequestHandler
HiveMindHostApiRequestHandler createHiveMindHostApiRequestHandler()
create a request handler
Definition: MessageHandlerContainer.cpp:18
MessageSender.h
IHiveConnectHiveMindApiMessageHandler
Handles HiveConnectHiveMindApi messages and makes the proper request.
Definition: IHiveConnectHiveMindApiMessageHandler.h:9
MessageHandlerContainer
Definition: MessageHandlerContainer.h:14
MessageDispatcher.h
MessageHandlerContainer::getInterlocMsgQueue
NotificationQueue< MessageDTO > & getInterlocMsgQueue()
get the interloc message queue
Definition: MessageHandlerContainer.cpp:70
MessageHandlerContainer::createHiveConnectHiveMindApiMessageHandler
HiveConnectHiveMindApiMessageHandler createHiveConnectHiveMindApiMessageHandler()
create a message handler
Definition: MessageHandlerContainer.cpp:13
MessageHandlerContainer::getHostMsgQueue
NotificationQueue< MessageDTO > & getHostMsgQueue()
get the host message queue
Definition: MessageHandlerContainer.cpp:44
MessageDispatcher
Definition: MessageDispatcher.h:14
IGreetSender
Definition: IGreetSender.h:4