llxfermanager.cpp File Reference

implementation of LLXferManager class for a collection of xfers More...

#include "linden_common.h"
#include "llxfermanager.h"
#include "llxfer.h"
#include "llxfer_file.h"
#include "llxfer_mem.h"
#include "llxfer_vfile.h"
#include "llerror.h"
#include "lluuid.h"
#include "u64.h"

Include dependency graph for llxfermanager.cpp:

Go to the source code of this file.

Defines

#define LL_XFER_PROGRESS_MESSAGES   0
#define LL_XFER_TEST_REXMIT   0

Functions

void start_xfer_manager (LLVFS *vfs)
void cleanup_xfer_manager ()
void process_confirm_packet (LLMessageSystem *mesgsys, void **user_data)
void process_request_xfer (LLMessageSystem *mesgsys, void **user_data)
void continue_file_receive (LLMessageSystem *mesgsys, void **user_data)
void process_abort_xfer (LLMessageSystem *mesgsys, void **user_data)

Variables

const F32 LL_XFER_REGISTRATION_TIMEOUT = 60.0f
const F32 LL_PACKET_TIMEOUT = 3.0f
const S32 LL_PACKET_RETRY_LIMIT = 10
const S32 LL_DEFAULT_MAX_SIMULTANEOUS_XFERS = 10
const S32 LL_DEFAULT_MAX_REQUEST_FIFO_XFERS = 1000
LLXferManagergXferManager = NULL


Detailed Description

implementation of LLXferManager class for a collection of xfers

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 llxfermanager.cpp.


Define Documentation

#define LL_XFER_PROGRESS_MESSAGES   0

Definition at line 52 of file llxfermanager.cpp.

#define LL_XFER_TEST_REXMIT   0

Definition at line 53 of file llxfermanager.cpp.


Function Documentation

void cleanup_xfer_manager (  ) 

Definition at line 1107 of file llxfermanager.cpp.

References NULL.

Referenced by LLAppViewer::disconnectViewer().

Here is the caller graph for this function:

void continue_file_receive ( LLMessageSystem mesgsys,
void **  user_data 
)

Definition at line 1126 of file llxfermanager.cpp.

References ll_frand(), and LLXferManager::processReceiveData().

Referenced by LLXferManager::registerCallbacks().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_abort_xfer ( LLMessageSystem mesgsys,
void **  user_data 
)

Definition at line 1142 of file llxfermanager.cpp.

References LLXferManager::processAbort().

Referenced by LLXferManager::registerCallbacks().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_confirm_packet ( LLMessageSystem mesgsys,
void **  user_data 
)

Definition at line 1116 of file llxfermanager.cpp.

References LLXferManager::processConfirmation().

Referenced by LLXferManager::registerCallbacks().

Here is the call graph for this function:

Here is the caller graph for this function:

void process_request_xfer ( LLMessageSystem mesgsys,
void **  user_data 
)

Definition at line 1121 of file llxfermanager.cpp.

References LLXferManager::processFileRequest().

Referenced by LLXferManager::registerCallbacks().

Here is the call graph for this function:

Here is the caller graph for this function:

void start_xfer_manager ( LLVFS vfs  ) 

Definition at line 1102 of file llxfermanager.cpp.

References LLXferManager::LLXferManager().

Referenced by idle_startup().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 50 of file llxfermanager.cpp.

Referenced by LLXferManager::init().

Definition at line 49 of file llxfermanager.cpp.

Referenced by LLXferManager::init().

Definition at line 47 of file llxfermanager.cpp.

Referenced by LLXferManager::retransmitUnackedPackets().

const F32 LL_PACKET_TIMEOUT = 3.0f

Definition at line 45 of file llxfermanager.cpp.

Referenced by LLXferManager::retransmitUnackedPackets().


Generated on Fri May 16 08:35:30 2008 for SecondLife by  doxygen 1.5.5