MessagingBus::Session Class Reference

#include <mw/messagingbus/session.h>

class MessagingBus::Session : public QObject

Inherits from

  • MessagingBus::Session
    Public Member Enumerations
    enumState { Offline, Connecting, Online, Authenticated }
    enumStateError { None, EnablerNotFound, NotAllowed, CertificateInvalid, ..., EnablerExpired }
    Public Member Functions
    Session()
    ~Session()
    voidcancelMessageSending(QList< RequestId >)
    RequestId channelAffiliations(const QString &)
    RequestId channelConfiguration(const QString &)
    RequestId channelSubscribers(const QString &)
    RequestId createChannel(const QString &, const ChannelConfiguration *)
    RequestId deleteChannel(const QString &)
    RequestId discoverChannels(const QString &)
    voidgetAccountInformation()
    voidgetApplicationSettings()
    voidmarkConsumed(const QStringList &)
    RequestId modifyChannelAffiliations(const ChannelAffiliations *)
    voidregisterApplication()
    RequestId sendMessage(const PointToPointMessage *)
    RequestId sendMessage(const ChannelMessage *)
    boolsendReceipt(const Message *)
    voidsetApplicationSettings(const ApplicationSettings *)
    SessionState state()
    RequestId subscribeChannel(const QString &)
    RequestId subscribedChannels()
    voidunregisterApplication()
    RequestId unsubscribeChannel(const QString &)
    QString version()
    Public Signals
    voidaccountInformationReceived(MessagingBus::AccountInformation)
    voidapplicationSettingsReceived(MessagingBus::ApplicationSettings)
    voidauthenticationRequired(MessagingBus::Authenticator &)
    voidchannelAffiliationsModified(MessagingBus::Acknowledgement)
    voidchannelAffiliationsReceived(MessagingBus::ChannelAffiliations, MessagingBus::Acknowledgement)
    voidchannelConfigurationReceived(MessagingBus::ChannelConfiguration, MessagingBus::Acknowledgement)
    voidchannelCreated(QString, MessagingBus::Acknowledgement)
    voidchannelDeleted(QString, MessagingBus::Acknowledgement)
    voidchannelMessageSent(MessagingBus::Acknowledgement)
    voidchannelSubscribed(QString, MessagingBus::Acknowledgement)
    voidchannelSubscribersReceived(QString, QList< MessagingBus::Subscriber >, MessagingBus::Acknowledgement)
    voidchannelUnsubscribed(QString, MessagingBus::Acknowledgement)
    voiddiscoveredChannelsReceived(QList< MessagingBus::Channel >, MessagingBus::Acknowledgement)
    voidmessageSendingCancelled(QList< MessagingBus::RequestId >)
    voidpointToPointMessageSent(MessagingBus::Acknowledgement)
    voidreceiptReceived(MessagingBus::Receipt)
    voidreceived(const MessagingBus::PointToPointMessage)
    voidstateChanged(MessagingBus::SessionState)
    voidsubscribedChannelsReceived(QStringList, MessagingBus::Acknowledgement)
    voidsubscriptionChanged(QString, MessagingBus::Subscription, bool)
    Inherited Attributes
    QObject::d_ptr
    QObject::objectName
    QObject::staticQtMetaObject
    Inherited Functions
    QObject::QObject(QObjectPrivate &,QObject *)
    QObject::blockSignals(bool)
    QObject::childEvent(QChildEvent *)
    QObject::children()const
    QObject::connect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &,Qt::ConnectionType)
    QObject::connect(const QObject *,const char *,const QObject *,const char *,Qt::ConnectionType)
    QObject::connect(const QObject *,const char *,const char *,Qt::ConnectionType)const
    QObject::connectNotify(const char *)
    QObject::customEvent(QEvent *)
    QObject::deleteLater
    QObject::destroyed
    QObject::disconnect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &)
    QObject::disconnect(const QObject *,const char *)
    QObject::disconnect(const QObject *,const char *,const QObject *,const char *)
    QObject::disconnect(const char *,const QObject *,const char *)
    QObject::disconnectNotify(const char *)
    QObject::dumpObjectInfo()
    QObject::dumpObjectTree()
    QObject::dynamicPropertyNames()const
    QObject::event(QEvent *)
    QObject::eventFilter(QObject *,QEvent *)
    QObject::findChild(const QString &)const
    QObject::findChildren(const QRegExp &)const
    QObject::findChildren(const QString &)const
    QObject::inherits(const char *)const
    QObject::installEventFilter(QObject *)
    QObject::isWidgetType()const
    QObject::killTimer(int)
    QObject::moveToThread(QThread *)
    QObject::objectName()const
    QObject::parent()const
    QObject::property(const char *)const
    QObject::receivers(const char *)const
    QObject::registerUserData()
    QObject::removeEventFilter(QObject *)
    QObject::sender()const
    QObject::senderSignalIndex()const
    QObject::setObjectName(const QString &)
    QObject::setParent(QObject *)
    QObject::setProperty(const char *,const QVariant &)
    QObject::setUserData(uint,QObjectUserData *)
    QObject::signalsBlocked()const
    QObject::startTimer(int)
    QObject::thread()const
    QObject::timerEvent(QTimerEvent *)
    QObject::userData(uint)const
    QObject::~QObject()

    Member Enumeration Documentation

    Enum State

    EnumeratorValueDescription
    Offline0
    Connecting1
    Online2
    Authenticated3

    Enum StateError

    Constructor & Destructor Documentation

    Session ( )

    Session()

    ~Session ( )

    ~Session()

    Member Function Documentation

    accountInformationReceived ( MessagingBus::AccountInformation )

    voidaccountInformationReceived(MessagingBus::AccountInformationinformation)[signal]

    applicationSettingsReceived ( MessagingBus::ApplicationSettings )

    voidapplicationSettingsReceived(MessagingBus::ApplicationSettingssettings)[signal]

    authenticationRequired ( MessagingBus::Authenticator & )

    voidauthenticationRequired(MessagingBus::Authenticator &certificate)[signal]

    cancelMessageSending ( QList< RequestId > )

    voidcancelMessageSending(QList< RequestId >ids)

    channelAffiliations ( const QString & )

    RequestId channelAffiliations(const QString &path)

    channelAffiliationsModified ( MessagingBus::Acknowledgement )

    voidchannelAffiliationsModified(MessagingBus::Acknowledgementack)[signal]

    channelAffiliationsReceived ( MessagingBus::ChannelAffiliations, MessagingBus::Acknowledgement )

    voidchannelAffiliationsReceived(MessagingBus::ChannelAffiliationsaffiliations,
    MessagingBus::Acknowledgementack
    )[signal]

    channelConfiguration ( const QString & )

    RequestId channelConfiguration(const QString &path)

    channelConfigurationReceived ( MessagingBus::ChannelConfiguration, MessagingBus::Acknowledgement )

    voidchannelConfigurationReceived(MessagingBus::ChannelConfigurationconfiguration,
    MessagingBus::Acknowledgementack
    )[signal]

    channelCreated ( QString, MessagingBus::Acknowledgement )

    voidchannelCreated(QStringname,
    MessagingBus::Acknowledgementack
    )[signal]

    channelDeleted ( QString, MessagingBus::Acknowledgement )

    voidchannelDeleted(QStringname,
    MessagingBus::Acknowledgementack
    )[signal]

    channelMessageSent ( MessagingBus::Acknowledgement )

    voidchannelMessageSent(MessagingBus::Acknowledgementack)[signal]

    channelSubscribed ( QString, MessagingBus::Acknowledgement )

    voidchannelSubscribed(QStringpath,
    MessagingBus::Acknowledgementack
    )[signal]

    channelSubscribers ( const QString & )

    RequestId channelSubscribers(const QString &path)

    channelSubscribersReceived ( QString, QList< MessagingBus::Subscriber >, MessagingBus::Acknowledgement )

    voidchannelSubscribersReceived(QStringpath,
    QList< MessagingBus::Subscriber >subscribers,
    MessagingBus::Acknowledgementack
    )[signal]

    channelUnsubscribed ( QString, MessagingBus::Acknowledgement )

    voidchannelUnsubscribed(QStringpath,
    MessagingBus::Acknowledgementack
    )[signal]

    createChannel ( const QString &, const ChannelConfiguration * )

    RequestId createChannel(const QString &name,
    const ChannelConfiguration *conf = 0
    )

    deleteChannel ( const QString & )

    RequestId deleteChannel(const QString &name)

    discoverChannels ( const QString & )

    RequestId discoverChannels(const QString &path = "")

    discoveredChannelsReceived ( QList< MessagingBus::Channel >, MessagingBus::Acknowledgement )

    voiddiscoveredChannelsReceived(QList< MessagingBus::Channel >channels,
    MessagingBus::Acknowledgementack
    )[signal]

    getAccountInformation ( )

    voidgetAccountInformation()

    getApplicationSettings ( )

    voidgetApplicationSettings()

    markConsumed ( const QStringList & )

    voidmarkConsumed(const QStringList &messageIds)

    messageSendingCancelled ( QList< MessagingBus::RequestId > )

    voidmessageSendingCancelled(QList< MessagingBus::RequestId >cancelledMessages)[signal]

    modifyChannelAffiliations ( const ChannelAffiliations * )

    RequestId modifyChannelAffiliations(const ChannelAffiliations *affiliations)

    pointToPointMessageSent ( MessagingBus::Acknowledgement )

    voidpointToPointMessageSent(MessagingBus::Acknowledgementack)[signal]

    receiptReceived ( MessagingBus::Receipt )

    voidreceiptReceived(MessagingBus::Receiptreceipt)[signal]

    received ( const MessagingBus::PointToPointMessage )

    voidreceived(const MessagingBus::PointToPointMessagemessage)[signal]

    registerApplication ( )

    voidregisterApplication()

    sendMessage ( const PointToPointMessage * )

    RequestId sendMessage(const PointToPointMessage *message)

    sendMessage ( const ChannelMessage * )

    RequestId sendMessage(const ChannelMessage *message)

    sendReceipt ( const Message * )

    boolsendReceipt(const Message *message)

    setApplicationSettings ( const ApplicationSettings * )

    voidsetApplicationSettings(const ApplicationSettings *settings)

    state ( )

    SessionState state()

    stateChanged ( MessagingBus::SessionState )

    voidstateChanged(MessagingBus::SessionStatestate)[signal]

    subscribeChannel ( const QString & )

    RequestId subscribeChannel(const QString &path)

    subscribedChannels ( )

    RequestId subscribedChannels()

    subscribedChannelsReceived ( QStringList, MessagingBus::Acknowledgement )

    voidsubscribedChannelsReceived(QStringListpaths,
    MessagingBus::Acknowledgementack
    )[signal]

    subscriptionChanged ( QString, MessagingBus::Subscription, bool )

    voidsubscriptionChanged(QStringpath,
    MessagingBus::Subscriptionsubscription,
    boolchannelDeleted
    )[signal]

    unregisterApplication ( )

    voidunregisterApplication()

    unsubscribeChannel ( const QString & )

    RequestId unsubscribeChannel(const QString &path)

    version ( )

    QString version()