17 #ifndef INCLUDED_BMQA_SESSIONEVENT
18 #define INCLUDED_BMQA_SESSIONEVENT
58 #include <bsl_memory.h>
59 #include <bsl_string.h>
83 bsl::shared_ptr<bmqimp::Event> d_impl_sp;
132 print(bsl::ostream& stream,
int level = 0,
int spacesPerLevel = 4)
const;
164 return rhs.
print(stream, 0, -1);
Provide a value-semantic efficient identifier for a queue.
Provide a value-semantic type usable as an efficient identifier.
Provide an enumeration for the different types of session events.
Value-semantic efficient identifier for a queue.
Definition: bmqa_queueid.h:59
An event related to the operation of a Session.
Definition: bmqa_sessionevent.h:75
SessionEvent(const SessionEvent &other)
const bsl::string & errorDescription() const
const bmqt::CorrelationId & correlationId() const
Return the correlationId associated to this event, if any.
SessionEvent & operator=(const SessionEvent &rhs)
bmqt::SessionEventType::Enum type() const
Return the session event type.
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
friend bool operator!=(const SessionEvent &lhs, const SessionEvent &rhs)
friend bool operator==(const SessionEvent &lhs, const SessionEvent &rhs)
SessionEvent()
Default constructor.
Definition: bmqt_correlationid.h:193
bool operator!=(const CloseQueueStatus &lhs, const CloseQueueStatus &rhs)
Definition: bmqa_closequeuestatus.h:240
bool operator==(const CloseQueueStatus &lhs, const CloseQueueStatus &rhs)
Definition: bmqa_closequeuestatus.h:233
bsl::ostream & operator<<(bsl::ostream &stream, const CloseQueueStatus &rhs)
Definition: bmqa_closequeuestatus.h:227
Definition: bmqa_abstractsession.h:42
Enum
Definition: bmqt_sessioneventtype.h:116