LLVoiceChannelP2P Class Reference

#include <llimpanel.h>

Inheritance diagram for LLVoiceChannelP2P:

Inheritance graph
[legend]
Collaboration diagram for LLVoiceChannelP2P:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLVoiceChannelP2P (const LLUUID &session_id, const LLString &session_name, const LLUUID &other_user_id)
virtual ~LLVoiceChannelP2P ()
void handleStatusChange (EStatusType status)
void handleError (EStatusType status)
void activate ()
void getChannelInfo ()
void setSessionHandle (const LLString &handle)

Private Attributes

LLString mSessionHandle
LLUUID mOtherUserID

Detailed Description

Definition at line 146 of file llimpanel.h.


Constructor & Destructor Documentation

LLVoiceChannelP2P::LLVoiceChannelP2P ( const LLUUID session_id,
const LLString session_name,
const LLUUID other_user_id 
)

Definition at line 768 of file llimpanel.cpp.

References LLSingleton< LLVoiceClient >::getInstance(), and LLVoiceChannel::setURI().

LLVoiceChannelP2P::~LLVoiceChannelP2P (  )  [virtual]

Definition at line 776 of file llimpanel.cpp.

References LLVoiceChannelGroup::deactivate().


Member Function Documentation

void LLVoiceChannelP2P::activate (  )  [virtual]

Reimplemented from LLVoiceChannelGroup.

Definition at line 824 of file llimpanel.cpp.

References LLVoiceChannel::activate(), LLVoiceClient::answerInvite(), LLVoiceChannel::callStarted(), LLVoiceClient::callUser(), LLSingleton< LLVoiceClient >::getInstance(), mOtherUserID, and mSessionHandle.

Referenced by setSessionHandle().

void LLVoiceChannelP2P::getChannelInfo (  )  [virtual]

Reimplemented from LLVoiceChannelGroup.

Definition at line 847 of file llimpanel.cpp.

References LLVoiceChannel::sCurrentVoiceChannel, LLVoiceChannelGroup::setState(), and LLVoiceChannel::STATE_CALL_STARTED.

void LLVoiceChannelP2P::handleError ( EStatusType  status  )  [virtual]

Reimplemented from LLVoiceChannelGroup.

Definition at line 810 of file llimpanel.cpp.

References LLVoiceClientStatusObserver::ERROR_NOT_AVAILABLE, LLVoiceChannel::handleError(), LLVoiceChannel::mNotifyArgs, and LLNotifyBox::showXml().

void LLVoiceChannelP2P::handleStatusChange ( EStatusType  status  )  [virtual]

Reimplemented from LLVoiceChannelGroup.

Definition at line 781 of file llimpanel.cpp.

References LLVoiceChannel::callStarted(), LLVoiceChannelGroup::deactivate(), FALSE, LLVoiceChannel::handleStatusChange(), LLVoiceChannel::mIgnoreNextSessionLeave, LLVoiceChannel::mNotifyArgs, LLVoiceChannel::mState, LLNotifyBox::showXml(), LLVoiceChannel::STATE_RINGING, and LLVoiceClientStatusObserver::STATUS_LEFT_CHANNEL.

void LLVoiceChannelP2P::setSessionHandle ( const LLString handle  ) 

Definition at line 857 of file llimpanel.cpp.

References activate(), LLVoiceChannel::callStarted(), LLVoiceClient::callUser(), LLVoiceChannelGroup::deactivate(), FALSE, gAgent, LLAgent::getID(), LLSingleton< LLVoiceClient >::getInstance(), mOtherUserID, mSessionHandle, LLVoiceChannel::setURI(), and TRUE.

Referenced by LLIMMgr::addP2PSession().


Member Data Documentation

LLUUID LLVoiceChannelP2P::mOtherUserID [private]

Definition at line 161 of file llimpanel.h.

Referenced by activate(), and setSessionHandle().

LLString LLVoiceChannelP2P::mSessionHandle [private]

Definition at line 160 of file llimpanel.h.

Referenced by activate(), and setSessionHandle().


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