#include <llimpanel.h>
Inheritance diagram for LLVoiceChannelP2P:
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 |
Definition at line 146 of file llimpanel.h.
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] |
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.
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().
LLUUID LLVoiceChannelP2P::mOtherUserID [private] |
LLString LLVoiceChannelP2P::mSessionHandle [private] |