Quick Links: |
#include <bmqa_session.h>
Public Member Functions | |
SessionImpl (const bmqt::SessionOptions &options, bslma::ManagedPtr< SessionEventHandler > eventHandler, bslma::Allocator *allocator=0) | |
Public Attributes | |
bslma::Allocator * | d_allocator_p |
bmqt::SessionOptions | d_sessionOptions |
bslma::ManagedPtr < SessionEventHandler > | d_eventHandler_mp |
bsl::shared_ptr < bmqp::MessageGUIDGenerator > | d_guidGenerator_sp |
bslma::ManagedPtr < bmqimp::Application > | d_application_mp |
Impl structure for the session data members, so that special task such as bmqadm
can access them by reinterpret casting a Session
object. Care should be taken though since Session
is a polymorphic class.
bmqa::SessionImpl::SessionImpl | ( | const bmqt::SessionOptions & | options, | |
bslma::ManagedPtr< SessionEventHandler > | eventHandler, | |||
bslma::Allocator * | allocator = 0 | |||
) |
Create a new object having the specified options
and eventHandler
and using the optionally specified allocator
.
bslma::Allocator* bmqa::SessionImpl::d_allocator_p |
bslma::ManagedPtr<SessionEventHandler> bmqa::SessionImpl::d_eventHandler_mp |
bsl::shared_ptr<bmqp::MessageGUIDGenerator> bmqa::SessionImpl::d_guidGenerator_sp |
bslma::ManagedPtr<bmqimp::Application> bmqa::SessionImpl::d_application_mp |