ChannelConfiguration Class Reference

#include <mw/messagingbus/channelconfiguration.h>

Link against: messagingbus.lib

class ChannelConfiguration : public Channel, public Channel

MB channelconfiguration permits channel configuration manipulation get/set.

Inherits from

Member Enumeration Documentation

Enum AccessModel

Describes MB channel acces model.

Open Everyone can publish and subscribe to the channel. Whitelist Only identities that are listed in the channel roles can publish and subscribe to the channel. Friends Not implemented.

Defines the possible channel acces model.

Open Everyone can publish and subscribe to the channel. Friends Not implemented. Whitelist Only identities that are listed in the channel roles can publish and subscribe to the channel.

EnumeratorValueDescription
Open0
Whitelist
Friends

Constructor & Destructor Documentation

ChannelConfiguration ( )

ChannelConfiguration()

Constructor Creates the ChannelConfigurationData object.

ChannelConfiguration ( const ChannelConfiguration & )

ChannelConfiguration(const ChannelConfiguration &other)

Copy Constructor.

other - ChannelConfiguration& class type parameter

~ChannelConfiguration ( )

~ChannelConfiguration()[virtual]

Destructor.

Member Function Documentation

banned ( )

QStringList banned()const

Returns channel banned users.

description ( )

QString description()const

Returns channel description.

operator= ( const ChannelConfiguration & )

ChannelConfiguration &operator=(const ChannelConfiguration &other)

Operator =, protect against self-assignment.

publisherAccessModel ( )

AccessModel publisherAccessModel()const

Returns channel publisher acces model.

Return Value
ChannelConfiguration::AccessModel

publishers ( )

QStringList publishers()const

Returns channel publishers.

setBanned ( const QStringList & )

voidsetBanned(const QStringList &applications)

Method used for adding application banned users list.

applicationList - QStringList& type parameter

setDescription ( const QString & )

voidsetDescription(const QString &description)

Method used for setting channel description.

description - QString& type parameter

setPublisherAccessModel ( AccessModel )

voidsetPublisherAccessModel(AccessModelmodel)

Method used for setting channel publisher access model.

Channel access models publisherAccessModel - AccessModel type parameter

See also: setSubscriberAccesModel()

Return Value
ChannelConfiguration::AccessModel

setPublishers ( const QStringList & )

voidsetPublishers(const QStringList &applications)

Method used for adding application publishers list.

applicationList - QStringList& type parameter

setSubscriberAccessModel ( AccessModel )

voidsetSubscriberAccessModel(AccessModelmodel)

Method used for setting channel subscriber access model.

channel access models subscriberAccessModel - AccessModel type parameter

See also: setPublisherAccesModel()

Return Value
ChannelConfiguration::AccessModel

setSubscribers ( const QStringList & )

voidsetSubscribers(const QStringList &applications)

Method used for adding application subscribers list.

applicationList - QStringList& type parameter

setTitle ( const QString & )

voidsetTitle(const QString &title)

Method used for setting channel title.

title - QString& type parameter

subscriberAccessModel ( )

AccessModel subscriberAccessModel()const

Returns channel subriber acces model.

Return Value
ChannelConfiguration::AccessModel

subscribers ( )

QStringList subscribers()const

Returns channel subscribers.

title ( )

QString title()const

Returns channel title.