#include <mw/messagingbus/channelconfiguration.h>
Link against: messagingbus.lib
class ChannelConfiguration : public Channel, public Channel |
MB channelconfiguration permits channel configuration manipulation get/set.
Public Member Enumerations | |
---|---|
enum | AccessModel { Open, Whitelist, Friends } |
Public Member Functions | |
---|---|
ChannelConfiguration() | |
ChannelConfiguration(const ChannelConfiguration &) | |
virtual | ~ChannelConfiguration() |
QStringList | banned() |
QString | description() |
ChannelConfiguration & | operator=(const ChannelConfiguration &) |
AccessModel | publisherAccessModel() |
QStringList | publishers() |
void | setBanned(const QStringList &) |
void | setDescription(const QString &) |
void | setPublisherAccessModel(AccessModel) |
void | setPublishers(const QStringList &) |
void | setSubscriberAccessModel(AccessModel) |
void | setSubscribers(const QStringList &) |
void | setTitle(const QString &) |
AccessModel | subscriberAccessModel() |
QStringList | subscribers() |
QString | title() |
Inherited Enumerations | |
---|---|
Channel:ChannelType |
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.
ChannelConfiguration | ( | ) |
Constructor Creates the ChannelConfigurationData object.
ChannelConfiguration | ( | const ChannelConfiguration & | other | ) |
Copy Constructor.
other - ChannelConfiguration& class type parameter
ChannelConfiguration & | operator= | ( | const ChannelConfiguration & | other | ) |
Operator =, protect against self-assignment.
AccessModel | publisherAccessModel | ( | ) | const |
Returns channel publisher acces model.
void | setBanned | ( | const QStringList & | applications | ) |
Method used for adding application banned users list.
applicationList - QStringList& type parameter
void | setDescription | ( | const QString & | description | ) |
Method used for setting channel description.
description - QString& type parameter
void | setPublisherAccessModel | ( | AccessModel | model | ) |
Method used for setting channel publisher access model.
Channel access models publisherAccessModel - AccessModel type parameter
See also: setSubscriberAccesModel()
void | setPublishers | ( | const QStringList & | applications | ) |
Method used for adding application publishers list.
applicationList - QStringList& type parameter
void | setSubscriberAccessModel | ( | AccessModel | model | ) |
Method used for setting channel subscriber access model.
channel access models subscriberAccessModel - AccessModel type parameter
See also: setPublisherAccesModel()
void | setSubscribers | ( | const QStringList & | applications | ) |
Method used for adding application subscribers list.
applicationList - QStringList& type parameter
void | setTitle | ( | const QString & | title | ) |
Method used for setting channel title.
title - QString& type parameter
AccessModel | subscriberAccessModel | ( | ) | const |
Returns channel subriber acces model.