Ring Daemon 16.0.0
|
#include <account.h>
Public Member Functions | |
Account (const std::string &accountID) | |
void | addDefaultModerator (const std::string &peerURI) |
void | attach (const std::shared_ptr< Call > &call) |
void | attach (const std::shared_ptr< Conference > &conf) |
virtual std::unique_ptr< AccountConfig > | buildConfig () const =0 |
virtual bool | cancelMessage (uint64_t) |
const AccountConfig & | config () const |
virtual void | connectivityChanged () |
Inform the account that the network status has changed. | |
bool | detach (const std::shared_ptr< Call > &call) |
virtual void | doRegister ()=0 |
Register the account. | |
virtual void | doUnregister (bool forceShutdownConnections=false)=0 |
Unregister the account. | |
void | editConfig (std::function< void(AccountConfig &config)> &&edit) |
void | enableAutoLoadConversations (bool enable) |
void | enableIceCompIdRfc5245Compliance (bool enable) |
void | enableIceForMedia (bool enable) |
void | enableVideo (bool enable) |
virtual void | flush () |
This method is called to request removal of possible account traces on the system, like internal account setup files. | |
std::map< std::string, std::string > | getAccountDetails () const |
const std::string & | getAccountID () const |
Get the account ID. | |
virtual std::string_view | getAccountType () const =0 |
std::vector< std::shared_ptr< SystemCodecInfo > > | getActiveAccountCodecInfoList (MediaType mediaType) const |
std::vector< unsigned > | getActiveCodecs (MediaType mediaType=MEDIA_ALL) const |
const std::string & | getAlias () const |
std::shared_ptr< Call > | getCall (const std::string &callId) const |
std::vector< std::string > | getCallList () const |
std::shared_ptr< Conference > | getConference (const std::string &confId) const |
std::vector< std::string > | getConferenceList () const |
std::set< std::string > | getDefaultModerators () const |
std::string | getDisplayName () const |
virtual std::string | getFromUri () const =0 |
const std::string & | getHostname () const |
virtual std::vector< libjami::Message > | getLastMessages (const uint64_t &) |
std::string | getMailBox () const |
virtual im::MessageStatus | getMessageStatus (uint64_t) const |
Return the status corresponding to the token. | |
virtual std::map< std::string, std::string > | getNearbyPeers () const |
const std::filesystem::path & | getPath () const |
std::map< std::string, std::string > | getProfileVcard () const |
RegistrationState | getRegistrationState () const |
bool | getRingtoneEnabled () const |
std::filesystem::path | getRingtonePath () const |
bool | getUPnPActive () const |
returns whether or not UPnP is enabled and active ie: if it is able to make port mappings | |
dhtnet::IpAddr | getUPnPIpAddress () const |
Get the UPnP IP (external router) address. | |
const std::string & | getUserAgentName () |
Get the user-agent. | |
const std::string & | getUsername () const |
virtual std::map< std::string, std::string > | getVolatileAccountDetails () const |
virtual bool | handleMessage (const std::shared_ptr< dht::crypto::Certificate > &, const std::string &, const std::pair< std::string, std::string > &) |
void | hangupCalls () |
Free all ressources related to this account. | |
bool | hasActiveCodec (MediaType mediaType) const |
bool | isActive () const noexcept |
Tell if the account is activated (can currently be used). | |
bool | isAllModerators () const |
bool | isAutoAnswerEnabled () const |
bool | isComposingEnabled () const |
bool | isDenySecondCallEnabled () const |
bool | isEmptyOffersEnabled () const |
bool | isEnabled () const |
Tell if the account is enable or not. | |
bool | isIceCompIdRfc5245Compliant () const |
bool | isIceForMediaEnabled () const |
virtual bool | isIP2IP () const |
Returns true if this is the IP2IP account. | |
bool | isLocalModeratorsEnabled () const |
bool | isReadReceiptEnabled () const |
bool | isRendezVous () const |
bool | isUsable () const |
bool | isVideoEnabled () const |
virtual void | loadConfig () |
Load the settings in this account. | |
void | loadDefaultCodecs () |
Helper function used to load the default codec order from the codec factory. | |
virtual std::shared_ptr< Call > | newOutgoingCall (std::string_view toUrl, const std::vector< libjami::MediaMap > &mediaList)=0 |
Create a new outgoing call. | |
bool | removeConference (const std::string &confId) |
void | removeDefaultModerator (const std::string &peerURI) |
virtual void | saveConfig () const |
std::shared_ptr< SystemCodecInfo > | searchCodecById (unsigned codecId, MediaType mediaType) |
std::shared_ptr< SystemCodecInfo > | searchCodecByPayload (unsigned payload, MediaType mediaType) |
virtual uint64_t | sendTextMessage (const std::string &, const std::string &, const std::map< std::string, std::string > &, uint64_t=0, bool=false) |
If supported, send a text message from this account. | |
void | setAccountDetails (const std::map< std::string, std::string > &details) |
void | setActive (bool active) noexcept |
virtual void | setActiveCodecs (const std::vector< unsigned > &list) |
Update both the codec order structure and the codec string used for SDP offer and configuration respectively. | |
void | setCodecActive (unsigned codecId) |
void | setCodecInactive (unsigned codecId) |
void | setConfig (std::unique_ptr< AccountConfig > &&config) |
void | setEnabled (bool enable) |
virtual void | setIsComposing (const std::string &, bool) |
virtual bool | setMessageDisplayed (const std::string &, const std::string &, int) |
virtual bool | setPushNotificationConfig (const std::map< std::string, std::string > &data) |
virtual bool | setPushNotificationToken (const std::string &pushDeviceToken="") |
virtual bool | setPushNotificationTopic (const std::string &topic="") |
virtual void | setRegistrationState (RegistrationState state, int detail_code=0, const std::string &detail_str={}) |
Set the registration state of the specified link. | |
virtual void | updateProfile (const std::string &, const std::string &, const std::string &, int32_t)=0 |
virtual | ~Account () |
Virtual destructor. | |
Static Public Member Functions | |
static std::map< std::string, std::string > | getDefaultCodecDetails (const unsigned &codecId) |
static std::vector< unsigned > | getDefaultCodecsId () |
static bool | meetMinimumRequiredVersion (const std::vector< unsigned > &jamiVersion, const std::vector< unsigned > &minRequiredVersion) |
Public Attributes | |
std::mt19937_64 | rand |
Random generator engine Logical account state shall never rely on the state of the random generator. | |
Protected Member Functions | |
std::vector< unsigned > | getAccountCodecInfoIdList (MediaType mediaType) const |
std::shared_ptr< SystemCodecInfo > | searchCodecByName (const std::string &name, MediaType mediaType) |
private account codec searching functions | |
void | setAllCodecsActive (MediaType mediaType, bool active) |
void | sortCodec () |
virtual void | updateUpnpController () |
Static Protected Member Functions | |
static std::string | getDefaultUserAgent () |
Build the user-agent string. | |
static std::string | mapStateNumberToString (RegistrationState state) |
Protected Attributes | |
std::vector< std::shared_ptr< SystemCodecInfo > > | accountCodecInfoList_ |
Vector containing all account codecs (set of system codecs with custom parameters) | |
const std::string | accountID_ |
Account ID are assign in constructor and shall not changed. | |
bool | active_ {true} |
Tells if the account is active now. | |
bool | autoLoadConversations_ {true} |
Auto load conversations when creatinf convModule() | |
std::unique_ptr< AccountConfig > | config_ {} |
std::recursive_mutex | configurationMutex_ {} |
bool | iceCompIdRfc5245Compliant_ {false} |
bool | iceForMediaEnabled_ {true} |
std::filesystem::path | idPath_ {} |
path to account | |
RegistrationState | registrationState_ {RegistrationState::UNLOADED} |
std::filesystem::path | ringtonePath_ |
Ringtone .au file used for this account. | |
std::shared_ptr< SystemCodecContainer > | systemCodecContainer_ |
Vector containing all system codecs (with default parameters) | |
std::mutex | upnp_mtx {} |
UPnP IGD controller and the mutex to access it. | |
std::shared_ptr< dhtnet::upnp::Controller > | upnpCtrl_ |
Static Protected Attributes | |
static const std::string | DEFAULT_USER_AGENT = Account::getDefaultUserAgent() |
Friends | |
class | ConfigurationTest |
jami::Account::Account | ( | const std::string & | accountID | ) |
Definition at line 69 of file account.cpp.
References loadDefaultCodecs().
|
virtual |
Virtual destructor.
Definition at line 79 of file account.cpp.
Definition at line 441 of file account.cpp.
References config_.
Definition at line 425 of file account.h.
References jami::CallSet::add().
|
inline |
Definition at line 427 of file account.h.
References jami::CallSet::add(), and jami::emitSignal().
|
pure virtual |
Implemented in jami::JamiAccount, and jami::SIPAccount.
Referenced by setAccountDetails().
|
inline |
Definition at line 113 of file account.h.
References config_.
Referenced by jami::JamiAccount::config(), jami::SIPAccount::config(), jami::SIPAccountBase::config(), enableVideo(), getAccountDetails(), getAlias(), getDefaultModerators(), getDisplayName(), getHostname(), getMailBox(), getRingtoneEnabled(), getUsername(), isAllModerators(), isAutoAnswerEnabled(), isComposingEnabled(), isDenySecondCallEnabled(), isEnabled(), isLocalModeratorsEnabled(), isReadReceiptEnabled(), isRendezVous(), isUsable(), isVideoEnabled(), setConfig(), and updateUpnpController().
Inform the account that the network status has changed.
Reimplemented in jami::JamiAccount, jami::SIPAccount, and jami::SIPAccountBase.
Definition at line 426 of file account.h.
References jami::CallSet::remove().
Register the account.
This should update the getRegistrationState() return value.
Implemented in jami::JamiAccount, and jami::SIPAccount.
Unregister the account.
This should update the getRegistrationState() return value.
Implemented in jami::JamiAccount, and jami::SIPAccount.
|
inline |
Definition at line 121 of file account.h.
References config_, configurationMutex_, jami::emitSignal(), and saveConfig().
Referenced by jami::JamiAccount::editConfig(), jami::SIPAccount::editConfig(), and enableVideo().
Definition at line 413 of file account.h.
References autoLoadConversations_.
Definition at line 412 of file account.h.
References iceCompIdRfc5245Compliant_.
Definition at line 387 of file account.h.
References iceForMediaEnabled_.
Definition at line 282 of file account.h.
References config(), editConfig(), and jami::AccountConfig::videoEnabled.
This method is called to request removal of possible account traces on the system, like internal account setup files.
Reimplemented in jami::JamiAccount, and jami::SIPAccountBase.
Definition at line 442 of file account.h.
Referenced by jami::SIPAccountBase::flush().
|
protected |
Definition at line 370 of file account.cpp.
References accountCodecInfoList_, jami::emitSignal(), and jami::MEDIA_NONE.
|
inline |
Definition at line 140 of file account.h.
References config(), configurationMutex_, and jami::AccountConfig::toMap().
|
inline |
Get the account ID.
Definition at line 154 of file account.h.
References accountID_.
Referenced by jami::JamiAccount::buildConfig(), jami::SIPAccount::buildConfig(), jami::SIPAccountBase::flush(), hangupCalls(), jami::im::MessageEngine::load(), jami::SIPAccountBase::loadConfig(), jami::im::MessageEngine::onMessageSent(), jami::operator<<(), jami::operator<<(), removeConference(), jami::SIPPresence::reportPresSubClientNotification(), jami::JamiAccount::shutdownConnections(), and jami::SIPAccount::updateProfile().
|
pure virtual |
Implemented in jami::JamiAccount, and jami::SIPAccount.
std::vector< std::shared_ptr< SystemCodecInfo > > jami::Account::getActiveAccountCodecInfoList | ( | MediaType | mediaType | ) | const |
Definition at line 414 of file account.cpp.
References accountCodecInfoList_, jami::emitSignal(), and jami::MEDIA_NONE.
Definition at line 356 of file account.cpp.
References accountCodecInfoList_, jami::emitSignal(), and jami::MEDIA_NONE.
|
inline |
Definition at line 298 of file account.h.
References jami::AccountConfig::alias, and config().
Definition at line 415 of file account.h.
References jami::CallSet::getCall().
|
inline |
Definition at line 419 of file account.h.
References jami::CallSet::getCallIds().
|
inline |
Definition at line 420 of file account.h.
References jami::emitSignal(), and jami::CallSet::getConference().
|
inline |
Definition at line 424 of file account.h.
References jami::CallSet::getConferenceIds().
|
static |
Definition at line 270 of file account.cpp.
References jami::emitSignal(), jami::getSystemCodecContainer, jami::MEDIA_ALL, jami::MEDIA_AUDIO, and jami::MEDIA_VIDEO.
Referenced by libjami::getCodecDetails().
|
static |
Definition at line 264 of file account.cpp.
References jami::getSystemCodecContainer, and jami::MEDIA_ALL.
Referenced by libjami::getActiveCodecList().
|
inline |
Definition at line 377 of file account.h.
References config(), and jami::AccountConfig::defaultModerators.
|
staticprotected |
Build the user-agent string.
Definition at line 435 of file account.cpp.
References jami::emitSignal(), jami::platform(), and libjami::version().
|
inline |
Definition at line 321 of file account.h.
References config(), and jami::AccountConfig::displayName.
|
pure virtual |
Implemented in jami::JamiAccount, and jami::SIPAccount.
|
inline |
Definition at line 297 of file account.h.
References config(), and jami::AccountConfig::hostname.
|
inlinevirtual |
Reimplemented in jami::JamiAccount, and jami::SIPAccountBase.
|
inline |
Definition at line 322 of file account.h.
References config(), and jami::AccountConfig::mailbox.
|
inlinevirtual |
Return the status corresponding to the token.
Reimplemented in jami::SIPAccountBase.
Definition at line 226 of file account.h.
References jami::im::UNKNOWN.
|
inlinevirtual |
Reimplemented in jami::JamiAccount.
|
inline |
std::map< std::string, std::string > jami::Account::getProfileVcard | ( | ) | const |
Definition at line 186 of file account.cpp.
References jami::emitSignal(), idPath_, JAMI_ERROR, jami::fileutils::loadTextFile(), and vCard::utils::toMap().
Referenced by jami::SIPAccount::updateProfile().
|
inline |
Definition at line 177 of file account.h.
References registrationState_.
|
inline |
Definition at line 320 of file account.h.
References config(), and jami::AccountConfig::ringtoneEnabled.
|
inline |
Definition at line 319 of file account.h.
References ringtonePath_.
bool jami::Account::getUPnPActive | ( | ) | const |
returns whether or not UPnP is enabled and active ie: if it is able to make port mappings
returns whether or not UPnP is enabled and active_ ie: if it is able to make port mappings
Definition at line 304 of file account.cpp.
References jami::emitSignal(), upnp_mtx, and upnpCtrl_.
Referenced by jami::SIPAccountBase::getIceOptions(), and jami::SIPAccount::newOutgoingCall().
dhtnet::IpAddr jami::Account::getUPnPIpAddress | ( | ) | const |
Get the UPnP IP (external router) address.
If use UPnP is set to false, the address will be empty.
Definition at line 291 of file account.cpp.
References jami::emitSignal(), upnp_mtx, and upnpCtrl_.
Referenced by jami::SIPAccount::newOutgoingCall().
const std::string & jami::Account::getUserAgentName | ( | ) |
Get the user-agent.
Definition at line 429 of file account.cpp.
References config_, and DEFAULT_USER_AGENT.
Referenced by jami::SIPPresence::fillDoc().
|
inline |
Definition at line 296 of file account.h.
References config(), and jami::AccountConfig::username.
|
virtual |
Reimplemented in jami::JamiAccount, jami::SIPAccount, and jami::SIPAccountBase.
Definition at line 179 of file account.cpp.
References libjami::Account::VolatileProperties::ACTIVE, active_, jami::Conf::CONFIG_ACCOUNT_REGISTRATION_STATUS, jami::FALSE_STR, mapStateNumberToString(), registrationState_, and jami::TRUE_STR.
Referenced by jami::SIPAccountBase::getVolatileAccountDetails(), and setRegistrationState().
|
inlinevirtual |
Reimplemented in jami::JamiAccount.
Definition at line 356 of file account.h.
Referenced by jami::SIPAccountBase::onTextMessage().
void jami::Account::hangupCalls | ( | ) |
Free all ressources related to this account.
Current calls using this account are HANG-UP
Definition at line 82 of file account.cpp.
References getAccountID(), jami::CallSet::getCallIds(), jami::Manager::hangupCall(), and jami::Manager::instance().
Definition at line 200 of file account.cpp.
References accountCodecInfoList_, and jami::emitSignal().
|
inlinenoexcept |
|
inline |
Definition at line 383 of file account.h.
References jami::AccountConfig::allModeratorsEnabled, and config().
|
inline |
Definition at line 325 of file account.h.
References jami::AccountConfig::autoAnswerEnabled, and config().
|
inline |
Definition at line 331 of file account.h.
References config(), and jami::AccountConfig::sendComposing.
|
inline |
Definition at line 326 of file account.h.
References config(), and jami::AccountConfig::denySecondCallEnabled.
|
inline |
Definition at line 390 of file account.h.
Referenced by jami::SIPAccount::newOutgoingCall().
|
inline |
Tell if the account is enable or not.
Definition at line 261 of file account.h.
References config(), and jami::AccountConfig::enabled.
|
inline |
Definition at line 411 of file account.h.
References iceCompIdRfc5245Compliant_.
|
inline |
Definition at line 386 of file account.h.
References iceForMediaEnabled_.
Returns true if this is the IP2IP account.
Reimplemented in jami::SIPAccount.
Definition at line 163 of file account.h.
Referenced by jami::SIPAccountBase::getVolatileAccountDetails().
|
inline |
Definition at line 382 of file account.h.
References config(), and jami::AccountConfig::localModeratorsEnabled.
|
inline |
Definition at line 330 of file account.h.
References config(), and jami::AccountConfig::sendReadReceipt.
|
inline |
Definition at line 324 of file account.h.
References config(), and jami::AccountConfig::isRendezVous.
|
inline |
Definition at line 280 of file account.h.
References active_, config(), jami::emitSignal(), and jami::AccountConfig::enabled.
Referenced by updateUpnpController().
|
inline |
Definition at line 286 of file account.h.
References config(), and jami::AccountConfig::videoEnabled.
Referenced by jami::SIPAccountBase::createDefaultMediaList(), jami::JamiAccount::newOutgoingCall(), and jami::SIPAccount::newOutgoingCall().
|
virtual |
Load the settings in this account.
Reimplemented in jami::JamiAccount, jami::SIPAccount, and jami::SIPAccountBase.
Definition at line 155 of file account.cpp.
References config_, jami::DEFAULT_RINGTONE_PATH, jami::emitSignal(), jami::fileutils::get_resource_dir_path(), jami::fileutils::getFullPath(), JAMI_WARNING, jami::RINGDIR, ringtonePath_, setActiveCodecs(), and updateUpnpController().
Referenced by jami::SIPAccountBase::loadConfig(), setAccountDetails(), and setConfig().
void jami::Account::loadDefaultCodecs | ( | ) |
Helper function used to load the default codec order from the codec factory.
Definition at line 131 of file account.cpp.
References accountCodecInfoList_, jami::CODEC_ENCODER_DECODER, jami::emitSignal(), jami::MEDIA_AUDIO, jami::MEDIA_VIDEO, and systemCodecContainer_.
Referenced by Account().
|
staticprotected |
Definition at line 238 of file account.cpp.
References CASE_STATE, jami::ERROR_AUTH, libjami::Account::States::ERROR_GENERIC, jami::ERROR_GENERIC, jami::ERROR_HOST, jami::ERROR_NEED_MIGRATION, jami::ERROR_NETWORK, jami::ERROR_SERVICE_UNAVAILABLE, jami::INITIALIZING, jami::REGISTERED, jami::TRYING, jami::UNLOADED, and jami::UNREGISTERED.
Referenced by getVolatileAccountDetails(), and setRegistrationState().
|
static |
Definition at line 453 of file account.cpp.
References jami::emitSignal(), and jami::swarm_protocol::version.
|
pure virtual |
Create a new outgoing call.
toUrl | The address to call |
mediaList | A list of media |
Implemented in jami::JamiAccount, and jami::SIPAccount.
Definition at line 428 of file account.h.
References jami::emitSignal(), getAccountID(), and jami::CallSet::removeConference().
Definition at line 447 of file account.cpp.
References config_.
|
virtual |
Reimplemented in jami::JamiAccount.
Definition at line 173 of file account.cpp.
References jami::Manager::instance(), and jami::Manager::saveConfig().
Referenced by editConfig(), setAccountDetails(), setPushNotificationConfig(), setPushNotificationToken(), and setPushNotificationTopic().
std::shared_ptr< SystemCodecInfo > jami::Account::searchCodecById | ( | unsigned | codecId, |
MediaType | mediaType | ||
) |
Definition at line 317 of file account.cpp.
References accountCodecInfoList_, jami::emitSignal(), and jami::MEDIA_NONE.
Referenced by setActiveCodecs().
|
protected |
private account codec searching functions
Definition at line 330 of file account.cpp.
References accountCodecInfoList_, jami::emitSignal(), and jami::MEDIA_NONE.
std::shared_ptr< SystemCodecInfo > jami::Account::searchCodecByPayload | ( | unsigned | payload, |
MediaType | mediaType | ||
) |
Definition at line 343 of file account.cpp.
References accountCodecInfoList_, jami::emitSignal(), and jami::MEDIA_NONE.
|
inlinevirtual |
If supported, send a text message from this account.
Reimplemented in jami::JamiAccount, and jami::SIPAccountBase.
|
inline |
Definition at line 130 of file account.h.
References buildConfig(), config_, configurationMutex_, jami::emitSignal(), loadConfig(), and saveConfig().
Update both the codec order structure and the codec string used for SDP offer and configuration respectively.
Reimplemented in jami::JamiAccount, and jami::SIPAccount.
Definition at line 209 of file account.cpp.
References jami::emitSignal(), jami::MEDIA_ALL, searchCodecById(), setAllCodecsActive(), and sortCodec().
Referenced by loadConfig().
Definition at line 385 of file account.cpp.
References accountCodecInfoList_, jami::emitSignal(), and jami::MEDIA_NONE.
Referenced by setActiveCodecs().
Definition at line 396 of file account.cpp.
References accountCodecInfoList_, and jami::emitSignal().
Definition at line 405 of file account.cpp.
References accountCodecInfoList_, and jami::emitSignal().
|
inline |
Definition at line 101 of file account.h.
References config(), config_, configurationMutex_, and loadConfig().
Definition at line 263 of file account.h.
References config_, and updateUpnpController().
Reimplemented in jami::JamiAccount.
|
inlinevirtual |
Reimplemented in jami::JamiAccount.
|
virtual |
Reimplemented in jami::JamiAccount, and jami::SIPAccount.
Definition at line 466 of file account.cpp.
References config_, configurationMutex_, jami::emitSignal(), jami::platform(), and saveConfig().
|
inlinevirtual |
Reimplemented in jami::JamiAccount, and jami::SIPAccount.
Definition at line 233 of file account.h.
References config_, configurationMutex_, jami::emitSignal(), and saveConfig().
|
inlinevirtual |
Reimplemented in jami::JamiAccount.
Definition at line 244 of file account.h.
References config_, configurationMutex_, jami::emitSignal(), and saveConfig().
|
virtual |
Set the registration state of the specified link.
state | The registration state of underlying VoIPLink |
Reimplemented in jami::SIPAccount, jami::SIPAccountBase, and jami::JamiAccount.
Definition at line 108 of file account.cpp.
References accountID_, jami::emitSignal(), getVolatileAccountDetails(), mapStateNumberToString(), registrationState_, and jami::runOnMainThread().
Referenced by jami::SIPAccountBase::setRegistrationState().
|
protected |
Definition at line 229 of file account.cpp.
References accountCodecInfoList_, and jami::emitSignal().
Referenced by setActiveCodecs().
|
pure virtual |
Implemented in jami::JamiAccount, and jami::SIPAccount.
|
protectedvirtual |
Definition at line 89 of file account.cpp.
References config(), jami::Manager::instance(), isUsable(), upnp_mtx, and upnpCtrl_.
Referenced by loadConfig(), and setEnabled().
|
protected |
Vector containing all account codecs (set of system codecs with custom parameters)
Definition at line 495 of file account.h.
Referenced by getAccountCodecInfoIdList(), getActiveAccountCodecInfoList(), getActiveCodecs(), hasActiveCodec(), loadDefaultCodecs(), searchCodecById(), searchCodecByName(), searchCodecByPayload(), setAllCodecsActive(), setCodecActive(), setCodecInactive(), and sortCodec().
|
protected |
Account ID are assign in constructor and shall not changed.
Definition at line 471 of file account.h.
Referenced by getAccountID(), jami::SIPAccountBase::onTextMessage(), and setRegistrationState().
Tells if the account is active now.
This allows doRegister to be called. When an account is unactivated, doUnregister must be called.
Definition at line 480 of file account.h.
Referenced by getVolatileAccountDetails(), isActive(), isUsable(), and setActive().
Auto load conversations when creatinf convModule()
Definition at line 518 of file account.h.
Referenced by enableAutoLoadConversations().
|
protected |
Definition at line 455 of file account.h.
Referenced by addDefaultModerator(), config(), jami::JamiAccount::consumeConfigCredentials(), editConfig(), getUserAgentName(), loadConfig(), removeDefaultModerator(), setAccountDetails(), setConfig(), setEnabled(), setPushNotificationConfig(), setPushNotificationToken(), and setPushNotificationTopic().
|
mutableprotected |
Definition at line 473 of file account.h.
Referenced by editConfig(), getAccountDetails(), setAccountDetails(), setConfig(), setPushNotificationConfig(), setPushNotificationToken(), and setPushNotificationTopic().
|
staticprotected |
Definition at line 459 of file account.h.
Referenced by getUserAgentName().
Definition at line 514 of file account.h.
Referenced by enableIceCompIdRfc5245Compliance(), and isIceCompIdRfc5245Compliant().
Definition at line 513 of file account.h.
Referenced by enableIceForMedia(), and isIceForMediaEnabled().
|
protected |
path to account
Definition at line 500 of file account.h.
Referenced by jami::JamiAccount::buildConfig(), jami::JamiAccount::flush(), getPath(), getProfileVcard(), and jami::SIPAccount::updateProfile().
|
mutable |
Random generator engine Logical account state shall never rely on the state of the random generator.
Definition at line 349 of file account.h.
Referenced by jami::SIPAccountBase::acquireRandomEvenPort(), jami::SIPAccountBase::getRandomEvenPort(), jami::im::MessageEngine::sendMessage(), and jami::SIPAccountBase::sendTextMessage().
|
protected |
Definition at line 486 of file account.h.
Referenced by getRegistrationState(), getVolatileAccountDetails(), jami::SIPAccountBase::setRegistrationState(), and setRegistrationState().
|
protected |
Ringtone .au file used for this account.
Definition at line 505 of file account.h.
Referenced by getRingtonePath(), and loadConfig().
|
protected |
Vector containing all system codecs (with default parameters)
Definition at line 491 of file account.h.
Referenced by loadDefaultCodecs().
|
mutableprotected |
UPnP IGD controller and the mutex to access it.
Definition at line 510 of file account.h.
Referenced by getUPnPActive(), getUPnPIpAddress(), and updateUpnpController().
|
protected |
Definition at line 511 of file account.h.
Referenced by jami::SIPAccountBase::getIceOptions(), getUPnPActive(), getUPnPIpAddress(), and updateUpnpController().