LLVoiceChannelGroup Class Reference

#include <llimpanel.h>

Inheritance diagram for LLVoiceChannelGroup:

Inheritance graph
[legend]
Collaboration diagram for LLVoiceChannelGroup:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 108 of file llimpanel.h.


Constructor & Destructor Documentation

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]

Definition at line 510 of file llimpanel.cpp.

References deactivate().


Member Function Documentation

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.

void LLVoiceChannelGroup::setState ( EState  state  )  [protected, virtual]

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().


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:12:01 2010 for Second Life Viewer by  doxygen 1.4.7