#include <llimpanel.h>
Inheritance diagram for LLVoiceChannelGroup:
Public Member Functions | |
LLVoiceChannelGroup (const LLUUID &session_id, const LLString &session_name) | |
virtual | ~LLVoiceChannelGroup () |
void | handleStatusChange (EStatusType status) |
void | handleError (EStatusType status) |
void | activate () |
void | deactivate () |
void | setChannelInfo (const LLString &uri, const LLString &credentials) |
void | getChannelInfo () |
Protected Member Functions | |
virtual void | setState (EState state) |
Private Attributes | |
U32 | mRetries |
BOOL | mIsRetrying |
Definition at line 108 of file llimpanel.h.
LLVoiceChannelGroup::LLVoiceChannelGroup | ( | const LLUUID & | session_id, | |
const LLString & | session_name | |||
) |
Definition at line 503 of file llimpanel.cpp.
References DEFAULT_RETRIES_COUNT, FALSE, mIsRetrying, and mRetries.
LLVoiceChannelGroup::~LLVoiceChannelGroup | ( | ) | [virtual] |
void LLVoiceChannelGroup::activate | ( | ) | [virtual] |
Reimplemented from LLVoiceChannel.
Reimplemented in LLVoiceChannelP2P.
Definition at line 524 of file llimpanel.cpp.
References LLVoiceChannel::activate(), LLVoiceChannel::callStarted(), LLSingleton< LLVoiceClient >::getInstance(), LLVoiceChannel::mCredentials, LLVoiceChannel::mURI, and LLVoiceClient::setNonSpatialChannel().
Referenced by setChannelInfo().
void LLVoiceChannelGroup::deactivate | ( | ) | [virtual] |
Reimplemented from LLVoiceChannel.
Definition at line 515 of file llimpanel.cpp.
References LLVoiceChannel::callStarted(), LLVoiceChannel::deactivate(), LLSingleton< LLVoiceClient >::getInstance(), and LLVoiceClient::leaveNonSpatialChannel().
Referenced by LLVoiceChannelP2P::handleStatusChange(), setChannelInfo(), LLVoiceChannelP2P::setSessionHandle(), ~LLVoiceChannelGroup(), and LLVoiceChannelP2P::~LLVoiceChannelP2P().
void LLVoiceChannelGroup::getChannelInfo | ( | ) | [virtual] |
Reimplemented from LLVoiceChannel.
Reimplemented in LLVoiceChannelP2P.
Definition at line 539 of file llimpanel.cpp.
References gAgent, LLViewerRegion::getCapability(), LLAgent::getRegion(), LLVoiceChannel::mSessionID, and LLHTTPClient::post().
Referenced by handleError().
void LLVoiceChannelGroup::handleError | ( | EStatusType | status | ) | [virtual] |
Reimplemented from LLVoiceChannel.
Reimplemented in LLVoiceChannelP2P.
Definition at line 608 of file llimpanel.cpp.
References LLIMMgr::addMessage(), DEFAULT_RETRIES_COUNT, LLVoiceClientStatusObserver::ERROR_CHANNEL_FULL, LLVoiceClientStatusObserver::ERROR_CHANNEL_LOCKED, LLVoiceClientStatusObserver::ERROR_NOT_AVAILABLE, LLVoiceClientStatusObserver::ERROR_UNKNOWN, FALSE, getChannelInfo(), LLNotifyBox::getTemplateMessage(), gIMMgr, LLVoiceChannel::handleError(), LLVoiceChannel::mIgnoreNextSessionLeave, mIsRetrying, LLVoiceChannel::mNotifyArgs, mRetries, LLVoiceChannel::mSessionID, LLUUID::null, LLNotifyBox::showXml(), SYSTEM_FROM, and TRUE.
void LLVoiceChannelGroup::handleStatusChange | ( | EStatusType | status | ) | [virtual] |
Reimplemented from LLVoiceChannel.
Reimplemented in LLVoiceChannelP2P.
Definition at line 593 of file llimpanel.cpp.
References FALSE, LLVoiceChannel::handleStatusChange(), mIsRetrying, mRetries, and LLVoiceClientStatusObserver::STATUS_JOINED.
void LLVoiceChannelGroup::setChannelInfo | ( | const LLString & | uri, | |
const LLString & | credentials | |||
) | [virtual] |
Reimplemented from LLVoiceChannel.
Definition at line 554 of file llimpanel.cpp.
References activate(), deactivate(), LLSingleton< LLVoiceClient >::getInstance(), llendl, llwarns, LLVoiceChannel::mCredentials, mIsRetrying, LLVoiceChannel::mSessionName, LLVoiceChannel::mState, LLVoiceChannel::mURI, LLVoiceChannel::sCurrentVoiceChannel, LLVoiceClient::setNonSpatialChannel(), setState(), LLVoiceChannel::setURI(), LLVoiceChannel::STATE_NO_CHANNEL_INFO, and LLVoiceChannel::STATE_READY.
Definition at line 654 of file llimpanel.cpp.
References LLIMMgr::addSystemMessage(), gIMMgr, mIsRetrying, LLVoiceChannel::mNotifyArgs, LLVoiceChannel::mSessionID, LLVoiceChannel::mState, LLVoiceChannel::setState(), and LLVoiceChannel::STATE_RINGING.
Referenced by LLVoiceChannelP2P::getChannelInfo(), and setChannelInfo().
BOOL LLVoiceChannelGroup::mIsRetrying [private] |
Definition at line 128 of file llimpanel.h.
Referenced by handleError(), handleStatusChange(), LLVoiceChannelGroup(), setChannelInfo(), and setState().
U32 LLVoiceChannelGroup::mRetries [private] |
Definition at line 127 of file llimpanel.h.
Referenced by handleError(), handleStatusChange(), and LLVoiceChannelGroup().