#include <lltransfermanager.h>
Inheritance diagram for LLTransferTarget:
Definition at line 376 of file lltransfermanager.h.
typedef std::map<S32, LLTransferPacket *>::iterator LLTransferTarget::tpm_iter [protected] |
Definition at line 427 of file lltransfermanager.h.
typedef std::map<S32, LLTransferPacket *> LLTransferTarget::transfer_packet_map [protected] |
Definition at line 426 of file lltransfermanager.h.
LLTransferTarget::LLTransferTarget | ( | LLTransferTargetType | target_type, | |
const LLUUID & | transfer_id, | |||
LLTransferSourceType | source_type | |||
) |
Definition at line 1175 of file lltransfermanager.cpp.
LLTransferTarget::~LLTransferTarget | ( | ) | [virtual] |
void LLTransferTarget::abortTransfer | ( | ) | [protected] |
Definition at line 1204 of file lltransfermanager.cpp.
References LLMessageSystem::addS32(), LLMessageSystem::addUUID(), completionCallback(), LLTransferTargetChannel::getChannelType(), LLTransferTargetChannel::getHost(), getID(), gMessageSystem, llendl, llinfos, LLTS_ABORT, mChannelp, LLMessageSystem::newMessage(), LLMessageSystem::nextBlock(), and LLMessageSystem::sendReliable().
Referenced by LLTransferManager::processTransferAbort(), LLTransferManager::processTransferInfo(), and LLTransferManager::processTransferPacket().
bool LLTransferTarget::addDelayedPacket | ( | const S32 | packet_id, | |
const LLTSCode | status, | |||
U8 * | datap, | |||
const S32 | size | |||
) | [protected] |
Definition at line 1217 of file lltransfermanager.cpp.
References llendl, llerrs, and mDelayedPacketMap.
Referenced by LLTransferManager::processTransferPacket().
virtual void LLTransferTarget::applyParams | ( | const LLTransferTargetParams & | params | ) | [protected, pure virtual] |
Implemented in LLTransferTargetFile, and LLTransferTargetVFile.
Referenced by LLTransferTargetChannel::requestTransfer().
virtual void LLTransferTarget::completionCallback | ( | const LLTSCode | status | ) | [protected, pure virtual] |
Implemented in LLTransferTargetFile, and LLTransferTargetVFile.
Referenced by abortTransfer(), LLTransferManager::processTransferInfo(), and LLTransferManager::processTransferPacket().
LLTransferTarget * LLTransferTarget::createTarget | ( | LLTransferTargetType | target_type, | |
const LLUUID & | request_id, | |||
LLTransferSourceType | source_type | |||
) | [static] |
Definition at line 1248 of file lltransfermanager.cpp.
References llendl, LLTTT_FILE, LLTTT_VFILE, llwarns, and NULL.
Referenced by LLTransferTargetChannel::requestTransfer().
virtual LLTSCode LLTransferTarget::dataCallback | ( | const S32 | packet_id, | |
U8 * | in_datap, | |||
const S32 | in_size | |||
) | [protected, pure virtual] |
Implemented in LLTransferTargetFile, and LLTransferTargetVFile.
Referenced by LLTransferManager::processTransferInfo(), and LLTransferManager::processTransferPacket().
LLTransferTargetChannel* LLTransferTarget::getChannel | ( | ) | const [inline] |
Definition at line 388 of file lltransfermanager.h.
References mChannelp.
Referenced by LLTransferTargetChannel::sendTransferRequest().
LLUUID LLTransferTarget::getID | ( | ) | const [inline] |
Definition at line 386 of file lltransfermanager.h.
References mID.
Referenced by abortTransfer(), and LLTransferTargetChannel::sendTransferRequest().
virtual S32 LLTransferTarget::getNextPacketID | ( | ) | [inline, protected, virtual] |
Definition at line 413 of file lltransfermanager.h.
References mLastPacketID.
Referenced by LLTransferManager::processTransferInfo(), and LLTransferManager::processTransferPacket().
LLTransferSourceType LLTransferTarget::getSourceType | ( | ) | const [inline] |
LLTransferTargetType LLTransferTarget::getType | ( | ) | const [inline] |
BOOL LLTransferTarget::gotInfo | ( | ) | const [inline, protected] |
Definition at line 417 of file lltransfermanager.h.
References mGotInfo.
Referenced by LLTransferManager::processTransferPacket().
Definition at line 416 of file lltransfermanager.h.
References mGotInfo.
Referenced by LLTransferManager::processTransferInfo().
Definition at line 414 of file lltransfermanager.h.
References mLastPacketID.
Referenced by LLTransferManager::processTransferInfo(), and LLTransferManager::processTransferPacket().
Definition at line 415 of file lltransfermanager.h.
References mSize.
Referenced by LLTransferManager::processTransferInfo().
virtual bool LLTransferTarget::unpackParams | ( | LLDataPacker & | dp | ) | [protected, pure virtual] |
Implemented in LLTransferTargetFile, and LLTransferTargetVFile.
Referenced by LLTransferManager::processTransferInfo().
friend class LLTransferManager [friend] |
Definition at line 398 of file lltransfermanager.h.
friend class LLTransferTargetChannel [friend] |
Definition at line 399 of file lltransfermanager.h.
LLTransferTargetChannel* LLTransferTarget::mChannelp [protected] |
Definition at line 432 of file lltransfermanager.h.
Referenced by abortTransfer(), LLTransferTargetChannel::addTransferTarget(), and getChannel().
Definition at line 437 of file lltransfermanager.h.
Referenced by addDelayedPacket(), LLTransferManager::processTransferInfo(), LLTransferManager::processTransferPacket(), and ~LLTransferTarget().
BOOL LLTransferTarget::mGotInfo [protected] |
LLUUID LLTransferTarget::mID [protected] |
S32 LLTransferTarget::mLastPacketID [protected] |
Definition at line 435 of file lltransfermanager.h.
Referenced by getNextPacketID(), and setLastPacketID().
S32 LLTransferTarget::mSize [protected] |
Definition at line 434 of file lltransfermanager.h.
Referenced by LLTransferTargetVFile::dataCallback(), and setSize().
LLTransferSourceType LLTransferTarget::mSourceType [protected] |
Definition at line 430 of file lltransfermanager.h.
Referenced by getSourceType(), and LLTransferTargetVFile::unpackParams().
LLTransferTargetType LLTransferTarget::mType [protected] |
Definition at line 429 of file lltransfermanager.h.
Referenced by LLTransferTargetVFile::applyParams(), LLTransferTargetFile::applyParams(), and getType().