#include <llimpanel.h>
Public Member Functions | |
LLVoiceChannelP2P (const LLUUID &session_id, const LLString &session_name, const LLUUID &other_user_id) | |
void | handleStatusChange (EStatusType status) |
void | handleError (EStatusType status) |
void | activate () |
void | getChannelInfo () |
void | setSessionHandle (const LLString &handle) |
Protected Member Functions | |
virtual void | setState (EState state) |
Private Attributes | |
LLString | mSessionHandle |
LLUUID | mOtherUserID |
BOOL | mReceivedCall |
Definition at line 154 of file llimpanel.h.
LLVoiceChannelP2P::LLVoiceChannelP2P | ( | const LLUUID & | session_id, | |
const LLString & | session_name, | |||
const LLUUID & | other_user_id | |||
) |
Definition at line 917 of file llimpanel.cpp.
References LLSingleton< LLVoiceClient >::getInstance(), and LLVoiceChannel::setURI().
void LLVoiceChannelP2P::handleStatusChange | ( | EStatusType | status | ) | [virtual] |
Reimplemented from LLVoiceChannelGroup.
Definition at line 926 of file llimpanel.cpp.
References LLVoiceChannel::callStarted(), LLVoiceChannelGroup::deactivate(), FALSE, LLVoiceChannel::handleStatusChange(), LLVoiceChannel::mIgnoreNextSessionLeave, LLVoiceChannel::mNotifyArgs, LLVoiceChannel::mState, LLNotifyBox::showXml(), LLVoiceChannel::sSuspended, LLVoiceChannel::STATE_RINGING, and LLVoiceClientStatusObserver::STATUS_LEFT_CHANNEL.
void LLVoiceChannelP2P::handleError | ( | EStatusType | status | ) | [virtual] |
Reimplemented from LLVoiceChannelGroup.
Definition at line 955 of file llimpanel.cpp.
References LLVoiceClientStatusObserver::ERROR_NOT_AVAILABLE, LLVoiceChannel::handleError(), LLVoiceChannel::mNotifyArgs, and LLNotifyBox::showXml().
void LLVoiceChannelP2P::activate | ( | ) | [virtual] |
Reimplemented from LLVoiceChannelGroup.
Definition at line 969 of file llimpanel.cpp.
References LLVoiceChannel::activate(), LLVoiceClient::answerInvite(), LLVoiceChannel::callStarted(), LLVoiceClient::callUser(), FALSE, LLSingleton< LLVoiceClient >::getInstance(), mOtherUserID, mReceivedCall, and mSessionHandle.
Referenced by setSessionHandle().
void LLVoiceChannelP2P::getChannelInfo | ( | ) | [virtual] |
Reimplemented from LLVoiceChannelGroup.
Definition at line 993 of file llimpanel.cpp.
References LLVoiceChannel::sCurrentVoiceChannel, setState(), and LLVoiceChannel::STATE_CALL_STARTED.
void LLVoiceChannelP2P::setSessionHandle | ( | const LLString & | handle | ) |
Definition at line 1003 of file llimpanel.cpp.
References activate(), LLVoiceChannel::callStarted(), LLVoiceClient::callUser(), LLVoiceChannelGroup::deactivate(), FALSE, gAgent, LLAgent::getID(), LLSingleton< LLVoiceClient >::getInstance(), mOtherUserID, mReceivedCall, mSessionHandle, LLVoiceChannel::setURI(), and TRUE.
Referenced by LLIMMgr::addP2PSession().
void LLVoiceChannelP2P::setState | ( | EState | state | ) | [protected, virtual] |
Reimplemented from LLVoiceChannelGroup.
Definition at line 1036 of file llimpanel.cpp.
References LLIMMgr::addSystemMessage(), gIMMgr, LLVoiceChannel::mNotifyArgs, mReceivedCall, LLVoiceChannel::mSessionID, LLVoiceChannel::mState, LLVoiceChannel::setState(), and LLVoiceChannel::STATE_RINGING.
Referenced by getChannelInfo().
LLString LLVoiceChannelP2P::mSessionHandle [private] |
LLUUID LLVoiceChannelP2P::mOtherUserID [private] |
BOOL LLVoiceChannelP2P::mReceivedCall [private] |
Definition at line 172 of file llimpanel.h.
Referenced by activate(), setSessionHandle(), and setState().