RSB
0.7.0
|
#include <MessageHandler.h>
Public Member Functions | |
MessageHandler (ConverterSelectionStrategyPtr converters) | |
virtual | ~MessageHandler () |
EventPtr | processMessage (SpreadMessagePtr message) |
void | setPruning (const bool &pruning) |
Private Member Functions | |
rsb::protocol::NotificationPtr | handleAndJoinFragmentedNotification (rsb::protocol::FragmentedNotificationPtr notification) |
Private Attributes | |
rsc::logging::LoggerPtr | logger |
AssemblyPoolPtr | assemblyPool |
Additional Inherited Members | |
Public Types inherited from rsb::transport::ConverterSelectingConnector< std::string > | |
typedef converter::Converter < std::string >::Ptr | ConverterPtr |
typedef converter::ConverterSelectionStrategy < std::string >::Ptr | ConverterSelectionStrategyPtr |
Protected Member Functions inherited from rsb::transport::ConverterSelectingConnector< std::string > | |
ConverterSelectingConnector (ConverterSelectionStrategyPtr converters) | |
ConverterPtr | getConverter (const std::string &key) const |
Try to find a suitable converter for key . |
Definition at line 51 of file MessageHandler.h.
rsb::spread::MessageHandler::MessageHandler | ( | ConverterSelectionStrategyPtr | converters | ) |
Definition at line 46 of file MessageHandler.cpp.
|
virtual |
Definition at line 52 of file MessageHandler.cpp.
|
private |
Definition at line 96 of file MessageHandler.cpp.
References assemblyPool.
Referenced by processMessage().
EventPtr rsb::spread::MessageHandler::processMessage | ( | SpreadMessagePtr | message | ) |
Definition at line 55 of file MessageHandler.cpp.
References rsb::protocol::fillEvent(), rsb::transport::ConverterSelectingConnector< std::string >::getConverter(), handleAndJoinFragmentedNotification(), logger, and rsb::spread::SpreadMessage::REGULAR.
Referenced by rsb::spread::InPullConnector::raiseEvent().
void rsb::spread::MessageHandler::setPruning | ( | const bool & | pruning | ) |
Definition at line 109 of file MessageHandler.cpp.
References assemblyPool.
|
private |
Definition at line 62 of file MessageHandler.h.
Referenced by handleAndJoinFragmentedNotification(), and setPruning().
|
private |
Definition at line 60 of file MessageHandler.h.
Referenced by processMessage().