llcircuit.h File Reference

Provides a method for tracking network circuit information for the UDP message system. More...

#include <map>
#include <vector>
#include "llerror.h"
#include "linked_lists.h"
#include "lltimer.h"
#include "timing.h"
#include "net.h"
#include "llhost.h"
#include "llpacketack.h"
#include "lluuid.h"
#include "llthrottle.h"

Include dependency graph for llcircuit.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LLCircuitData
class  LLCircuitData::less
class  LLCircuit

Variables

const F32 PING_INTERVAL_MAX = 100.f
const F32 PING_INTERVAL_ALARM = 50.f
const F32 LL_AVERAGED_PING_ALPHA = 0.2f
const F32 LL_AVERAGED_PING_MAX = 2000
const F32 LL_AVERAGED_PING_MIN = 100
const U32 INITIAL_PING_VALUE_MSEC = 1000
const TPACKETID LL_MAX_OUT_PACKET_ID = 0x01000000
const U8 LL_PACKET_ID_SIZE = 6
const S32 LL_MAX_RESENT_PACKETS_PER_FRAME = 100
const S32 LL_MAX_ACKED_PACKETS_PER_FRAME = 200


Detailed Description

Provides a method for tracking network circuit information for the UDP message system.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-2007, 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://secondlife.com/developers/opensource/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://secondlife.com/developers/opensource/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 llcircuit.h.


Variable Documentation

const U32 INITIAL_PING_VALUE_MSEC = 1000

Definition at line 61 of file llcircuit.h.

const F32 LL_AVERAGED_PING_ALPHA = 0.2f

Definition at line 57 of file llcircuit.h.

Referenced by LLCircuitData::setPingDelay().

const F32 LL_AVERAGED_PING_MAX = 2000

Definition at line 58 of file llcircuit.h.

Referenced by LLMessageSystem::flushSemiReliable(), LLCircuitData::getPingDelayAveraged(), LLMessageSystem::sendReliable(), LLMessageSystem::sendSemiReliable(), and LLCircuitData::setPingDelay().

const F32 LL_AVERAGED_PING_MIN = 100

Definition at line 59 of file llcircuit.h.

Referenced by LLCircuitData::setPingDelay().

const S32 LL_MAX_ACKED_PACKETS_PER_FRAME = 200

Definition at line 71 of file llcircuit.h.

const TPACKETID LL_MAX_OUT_PACKET_ID = 0x01000000

Definition at line 63 of file llcircuit.h.

Referenced by LLCircuitData::checkPacketInID(), LLCircuitData::nextPacketOutID(), and LLCircuitData::setPacketInID().

const S32 LL_MAX_RESENT_PACKETS_PER_FRAME = 100

Definition at line 70 of file llcircuit.h.

const U8 LL_PACKET_ID_SIZE = 6

Definition at line 68 of file llcircuit.h.

Referenced by LLTemplateMessageBuilder::buildMessage(), LLTemplateMessageReader::decodeData(), LLTemplateMessageReader::decodeTemplate(), LLMessageSystem::sendMessage(), tut::LLTemplateMessageBuilderTestData::setReader(), zero_code(), LLMessageSystem::zeroCodeAdjustCurrentSendTotal(), and LLMessageSystem::zeroCodeExpand().

const F32 PING_INTERVAL_ALARM = 50.f

Definition at line 54 of file llcircuit.h.

Referenced by LLCircuitData::checkCircuitTimeout().

const F32 PING_INTERVAL_MAX = 100.f

Definition at line 53 of file llcircuit.h.

Referenced by LLCircuitData::checkCircuitTimeout().


Generated on Thu Jul 1 06:10:07 2010 for Second Life Viewer by  doxygen 1.4.7