#include <llimpanel.h>
Public Member Functions | |
LLVoiceChannelGroup (const LLUUID &session_id, const LLString &session_name) | |
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 118 of file llimpanel.h.
LLVoiceChannelGroup::LLVoiceChannelGroup | ( | const LLUUID & | session_id, | |
const LLString & | session_name | |||
) |
Definition at line 657 of file llimpanel.cpp.
References DEFAULT_RETRIES_COUNT, FALSE, mIsRetrying, and mRetries.
void LLVoiceChannelGroup::handleStatusChange | ( | EStatusType | status | ) | [virtual] |
Reimplemented from LLVoiceChannel.
Reimplemented in LLVoiceChannelP2P.
Definition at line 742 of file llimpanel.cpp.
References FALSE, LLVoiceChannel::handleStatusChange(), mIsRetrying, mRetries, and LLVoiceClientStatusObserver::STATUS_JOINED.
void LLVoiceChannelGroup::handleError | ( | EStatusType | status | ) | [virtual] |
Reimplemented from LLVoiceChannel.
Reimplemented in LLVoiceChannelP2P.
Definition at line 757 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::activate | ( | ) | [virtual] |
Reimplemented from LLVoiceChannel.
Reimplemented in LLVoiceChannelP2P.
Definition at line 673 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 664 of file llimpanel.cpp.
References LLVoiceChannel::callStarted(), LLVoiceChannel::deactivate(), LLSingleton< LLVoiceClient >::getInstance(), and LLVoiceClient::leaveNonSpatialChannel().
Referenced by LLVoiceChannelP2P::handleStatusChange(), setChannelInfo(), and LLVoiceChannelP2P::setSessionHandle().
void LLVoiceChannelGroup::setChannelInfo | ( | const LLString & | uri, | |
const LLString & | credentials | |||
) | [virtual] |
Reimplemented from LLVoiceChannel.
Definition at line 703 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.
void LLVoiceChannelGroup::getChannelInfo | ( | ) | [virtual] |
Reimplemented from LLVoiceChannel.
Reimplemented in LLVoiceChannelP2P.
Definition at line 688 of file llimpanel.cpp.
References gAgent, LLViewerRegion::getCapability(), LLAgent::getRegion(), LLVoiceChannel::mSessionID, and LLHTTPClient::post().
Referenced by handleError().
void LLVoiceChannelGroup::setState | ( | EState | state | ) | [protected, virtual] |
Reimplemented in LLVoiceChannelP2P.
Definition at line 804 of file llimpanel.cpp.
References LLIMMgr::addSystemMessage(), gIMMgr, mIsRetrying, LLVoiceChannel::mNotifyArgs, LLVoiceChannel::mSessionID, LLVoiceChannel::mState, LLVoiceChannel::setState(), and LLVoiceChannel::STATE_RINGING.
Referenced by setChannelInfo().
U32 LLVoiceChannelGroup::mRetries [private] |
Definition at line 136 of file llimpanel.h.
Referenced by handleError(), handleStatusChange(), and LLVoiceChannelGroup().
BOOL LLVoiceChannelGroup::mIsRetrying [private] |
Definition at line 137 of file llimpanel.h.
Referenced by handleError(), handleStatusChange(), LLVoiceChannelGroup(), setChannelInfo(), and setState().