Quick Links:

bmqa | bmqpi | bmqt

Public Member Functions | Public Attributes

bmqa::SessionImpl Struct Reference

#include <bmqa_session.h>

List of all members.

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

Detailed Description

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.

See Component bmqa_session


Constructor & Destructor Documentation

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.


Member Data Documentation

bsl::shared_ptr<bmqp::MessageGUIDGenerator> bmqa::SessionImpl::d_guidGenerator_sp
bslma::ManagedPtr<bmqimp::Application> bmqa::SessionImpl::d_application_mp

The documentation for this struct was generated from the following file: