LLTransferSourceChannel Class Reference

#include <lltransfermanager.h>

Collaboration diagram for LLTransferSourceChannel:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLTransferSourceChannel (const LLTransferChannelType channel_type, const LLHost &host)
virtual ~LLTransferSourceChannel ()
void updateTransfers ()
void updatePriority (LLTransferSource *tsp, const F32 priority)
void addTransferSource (LLTransferSource *sourcep)
LLTransferSourcefindTransferSource (const LLUUID &transfer_id)
BOOL deleteTransfer (LLTransferSource *tsp)
void setThrottleID (const S32 throttle_id)
LLTransferChannelType getChannelType () const
LLHost getHost () const

Protected Types

typedef std::list
< LLTransferSource * >
::iterator 
ts_iter

Protected Attributes

LLTransferChannelType mChannelType
LLHost mHost
LLPriQueueMap< LLTransferSource * > mTransferSources
S32 mThrottleID


Detailed Description

Definition at line 194 of file lltransfermanager.h.


Member Typedef Documentation

typedef std::list<LLTransferSource *>::iterator LLTransferSourceChannel::ts_iter [protected]

Definition at line 215 of file lltransfermanager.h.


Constructor & Destructor Documentation

LLTransferSourceChannel::LLTransferSourceChannel ( const LLTransferChannelType  channel_type,
const LLHost host 
)

Definition at line 717 of file lltransfermanager.cpp.

LLTransferSourceChannel::~LLTransferSourceChannel (  )  [virtual]

Definition at line 726 of file lltransfermanager.cpp.

References LLPriQueueMap< DATA_TYPE >::mMap, and mTransferSources.


Member Function Documentation

void LLTransferSourceChannel::updateTransfers (  ) 

void LLTransferSourceChannel::updatePriority ( LLTransferSource tsp,
const F32  priority 
)

Definition at line 741 of file lltransfermanager.cpp.

References mTransferSources, and LLPriQueueMap< DATA_TYPE >::reprioritize().

Here is the call graph for this function:

void LLTransferSourceChannel::addTransferSource ( LLTransferSource sourcep  ) 

Definition at line 877 of file lltransfermanager.cpp.

References LLTransferSource::getPriority(), LLTransferSource::mChannelp, mTransferSources, and LLPriQueueMap< DATA_TYPE >::push().

Referenced by LLTransferManager::processTransferRequest().

Here is the call graph for this function:

Here is the caller graph for this function:

LLTransferSource * LLTransferSourceChannel::findTransferSource ( const LLUUID transfer_id  ) 

Definition at line 884 of file lltransfermanager.cpp.

References LLTransferSource::getID(), LLPriQueueMap< DATA_TYPE >::mMap, mTransferSources, and NULL.

Referenced by LLTransferManager::findTransferSource(), LLTransferManager::processTransferAbort(), LLTransferManager::processTransferRequest(), and updateTransfers().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLTransferSourceChannel::deleteTransfer ( LLTransferSource tsp  ) 

void LLTransferSourceChannel::setThrottleID ( const S32  throttle_id  )  [inline]

Definition at line 209 of file lltransfermanager.h.

References mThrottleID.

LLTransferChannelType LLTransferSourceChannel::getChannelType (  )  const [inline]

Definition at line 211 of file lltransfermanager.h.

References mChannelType.

Referenced by LLTransferSource::abortTransfer(), LLTransferSource::sendTransferStatus(), and updateTransfers().

Here is the caller graph for this function:

LLHost LLTransferSourceChannel::getHost (  )  const [inline]

Definition at line 212 of file lltransfermanager.h.

References mHost.

Referenced by LLTransferSource::abortTransfer(), LLTransferSource::sendTransferStatus(), and updateTransfers().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 217 of file lltransfermanager.h.

Referenced by getChannelType(), and updateTransfers().

Definition at line 218 of file lltransfermanager.h.

Referenced by getHost().

Definition at line 222 of file lltransfermanager.h.

Referenced by setThrottleID(), and updateTransfers().


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:18:48 2008 for SecondLife by  doxygen 1.5.5