llvoiceclient.cpp File Reference

Implementation of LLVoiceClient class which is the interface to the voice client process. More...

#include "llviewerprecompiledheaders.h"
#include "llvoiceclient.h"
#include <boost/tokenizer.hpp>
#include "llsdutil.h"
#include "llvoavatar.h"
#include "llbufferstream.h"
#include "llfile.h"
#include "expat/expat.h"
#include "llcallbacklist.h"
#include "llviewerregion.h"
#include "llviewernetwork.h"
#include "llbase64.h"
#include "llviewercontrol.h"
#include "llkeyboard.h"
#include "llappviewer.h"
#include "llmutelist.h"
#include "llagent.h"
#include "llcachename.h"
#include "llimview.h"
#include "llimpanel.h"
#include "llparcel.h"
#include "llviewerparcelmgr.h"
#include "llfirstuse.h"
#include "llviewerwindow.h"
#include "apr-1/apr_base64.h"
#include "apr-1/apr_sha1.h"

Include dependency graph for llvoiceclient.cpp:

Go to the source code of this file.

Classes

class  LLViewerVoiceAccountProvisionResponder
class  LLVivoxProtocolParser
 This class helps construct new LLIOPipe specializations. More...
class  LLVoiceClientMuteListObserver
class  LLVoiceClientCapResponder
class  LLViewerParcelVoiceInfo
class  LLViewerRequiredVoiceVersion

Defines

#define AGNI_LINDENS_ONLY_CHANNEL   "SL"
#define CASE(x)   case x: result = #x; break
#define CASE(x)   case x: result = #x; break

Functions

static bool isGatewayRunning ()
static void killGateway ()

Variables

static bool sConnectingToAgni = false
const F32 SPEAKING_TIMEOUT = 1.f
const int VOICE_MAJOR_VERSION = 1
const int VOICE_MINOR_VERSION = 0
LLVoiceClientgVoiceClient = NULL
const F32 CONNECT_THROTTLE_SECONDS = 1.0f
const F32 UPDATE_THROTTLE_SECONDS = 0.1f
const F32 LOGIN_RETRY_SECONDS = 10.0f
const int MAX_LOGIN_RETRIES = 12
static
LLVoiceClientMuteListObserver 
mutelist_listener
static bool sMuteListListener_listening = false
static pid_t sGatewayPID = 0
LLHTTPRegistration
< LLViewerParcelVoiceInfo
gHTTPRegistrationMessageParcelVoiceInfo ("/message/ParcelVoiceInfo")
LLHTTPRegistration
< LLViewerRequiredVoiceVersion
gHTTPRegistrationMessageRequiredVoiceVersion ("/message/RequiredVoiceVersion")


Detailed Description

Implementation of LLVoiceClient class which is the interface to the voice client process.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-2008, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlifegrid.net/programs/open_source/licensing/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llvoiceclient.cpp.


Define Documentation

#define AGNI_LINDENS_ONLY_CHANNEL   "SL"

Definition at line 68 of file llvoiceclient.cpp.

#define CASE (  )     case x: result = #x; break

#define CASE (  )     case x: result = #x; break


Function Documentation

static bool isGatewayRunning (  )  [static]

Definition at line 766 of file llvoiceclient.cpp.

Referenced by LLVoiceClient::stateMachine().

Here is the caller graph for this function:

static void killGateway (  )  [static]

Definition at line 780 of file llvoiceclient.cpp.

Referenced by LLVoiceClient::stateMachine().

Here is the caller graph for this function:


Variable Documentation

Definition at line 80 of file llvoiceclient.cpp.

Referenced by LLVoiceClient::stateMachine().

const F32 LOGIN_RETRY_SECONDS = 10.0f

Definition at line 85 of file llvoiceclient.cpp.

Referenced by LLVoiceClient::stateMachine().

const int MAX_LOGIN_RETRIES = 12

Definition at line 86 of file llvoiceclient.cpp.

Referenced by LLVoiceClient::stateMachine().

Definition at line 685 of file llvoiceclient.cpp.

bool sConnectingToAgni = false [static]

pid_t sGatewayPID = 0 [static]

Definition at line 765 of file llvoiceclient.cpp.

bool sMuteListListener_listening = false [static]

Definition at line 686 of file llvoiceclient.cpp.

Referenced by LLVoiceClient::stateMachine().

const F32 SPEAKING_TIMEOUT = 1.f

Definition at line 72 of file llvoiceclient.cpp.

Referenced by LLVoiceClient::getIsSpeaking().

Definition at line 83 of file llvoiceclient.cpp.

Referenced by LLVoiceClient::stateMachine().

const int VOICE_MAJOR_VERSION = 1

Definition at line 74 of file llvoiceclient.cpp.

Referenced by LLViewerRequiredVoiceVersion::post().

const int VOICE_MINOR_VERSION = 0

Definition at line 75 of file llvoiceclient.cpp.


Generated on Fri May 16 08:38:00 2008 for SecondLife by  doxygen 1.5.5