libbmq 57a4779af25c7e9db2550c596f277dd91da7e3c2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bmqa_messageevent.h File Reference

Provide the application with data event notifications. More...

#include <bmqa_messageiterator.h>
#include <bmqt_messageeventtype.h>
#include <bsl_iosfwd.h>
#include <bsl_memory.h>

Go to the source code of this file.

Classes

class  BloombergLP::bmqa::MessageEvent
 

Namespaces

namespace  BloombergLP
 
namespace  BloombergLP::bmqa
 

Functions

bsl::ostream & BloombergLP::bmqa::operator<< (bsl::ostream &stream, const MessageEvent &rhs)
 

Detailed Description

This component provides a bmqa::MessageEvent notification object used by the bmqa::Session to provide BlazingMQ applications with data messages received from the broker. The application can consume the messages by asking this bmqa::MessageEvent for a bmqa::MessageIterator.

Note that bmqa::MessageEvent is implemented using the pimpl idiom, so copying a bmqa::MessageEvent is very cheap (a pointer copy). All copies of this bmqa::MessageEvent will share the same underlying implementation.

See also
bmqa::MessageIterator: iterator over the messages in this event
bmqa::Message: type of the Message