#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 |
LLXferManager * | gXferManager = NULL |
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 llxfermanager.cpp.
#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.
void cleanup_xfer_manager | ( | ) |
Definition at line 1093 of file llxfermanager.cpp.
References gXferManager, and NULL.
Referenced by disconnect_viewer().
void continue_file_receive | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 1112 of file llxfermanager.cpp.
References f, gXferManager, ll_frand(), and LLXferManager::processReceiveData().
Referenced by LLXferManager::registerCallbacks().
void process_abort_xfer | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 1128 of file llxfermanager.cpp.
References gXferManager, and LLXferManager::processAbort().
Referenced by LLXferManager::registerCallbacks().
void process_confirm_packet | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 1102 of file llxfermanager.cpp.
References gXferManager, and LLXferManager::processConfirmation().
Referenced by LLXferManager::registerCallbacks().
void process_request_xfer | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) |
Definition at line 1107 of file llxfermanager.cpp.
References gXferManager, and LLXferManager::processFileRequest().
Referenced by LLXferManager::registerCallbacks().
Definition at line 1088 of file llxfermanager.cpp.
References gXferManager.
Referenced by idle_startup().
LLXferManager* gXferManager = NULL |
Definition at line 1085 of file llxfermanager.cpp.
Referenced by cleanup_xfer_manager(), continue_file_receive(), idle_network(), idle_startup(), process_abort_xfer(), process_confirm_packet(), process_initiate_download(), process_request_xfer(), LLMessageSystem::processAcks(), LLMuteList::processMuteListUpdate(), LLViewerObject::processTaskInv(), LLPanelRequestTools::sendRequest(), and start_xfer_manager().
const S32 LL_DEFAULT_MAX_REQUEST_FIFO_XFERS = 1000 |
const S32 LL_DEFAULT_MAX_SIMULTANEOUS_XFERS = 10 |
const S32 LL_PACKET_RETRY_LIMIT = 10 |
Definition at line 47 of file llxfermanager.cpp.
Referenced by LLXferManager::retransmitUnackedPackets().
const F32 LL_PACKET_TIMEOUT = 3.0f |
Definition at line 46 of file llxfermanager.cpp.
Referenced by LLXferManager::retransmitUnackedPackets(), and LLXferManager::setAckThrottleBPS().
const F32 LL_XFER_REGISTRATION_TIMEOUT = 60.0f |
Definition at line 45 of file llxfermanager.cpp.
Referenced by LLXferManager::retransmitUnackedPackets().