LLAssetRequest Class Reference

#include <llassetstorage.h>

Inheritance diagram for LLAssetRequest:

Inheritance graph
[legend]
Collaboration diagram for LLAssetRequest:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLAssetRequest (const LLUUID &uuid, const LLAssetType::EType at)
virtual ~LLAssetRequest ()
LLUUID getUUID () const
LLAssetType::EType getType () const
void setUUID (const LLUUID &id)
void setType (LLAssetType::EType type)
void setTimeout (F64 timeout)
virtual LLSD getTerseDetails () const
virtual LLSD getFullDetails () const

Public Attributes

void(* mDownCallback )(LLVFS *, const LLUUID &, LLAssetType::EType, void *, S32, LLExtStat)
void(* mUpCallback )(const LLUUID &, void *, S32, LLExtStat)
void(* mInfoCallback )(LLAssetInfo *, void *, S32)
voidmUserData
LLHost mHost
BOOL mIsTemp
BOOL mIsLocal
BOOL mIsUserWaiting
F64 mTime
F64 mTimeout
BOOL mIsPriority
BOOL mDataSentInFirstPacket
BOOL mDataIsInVFS
LLUUID mRequestingAgentID

Protected Attributes

LLUUID mUUID
LLAssetType::EType mType

Detailed Description

Definition at line 91 of file llassetstorage.h.


Constructor & Destructor Documentation

LLAssetRequest::LLAssetRequest ( const LLUUID uuid,
const LLAssetType::EType  type 
)

---------------------------------------------------------------------------- LLAssetRequest ----------------------------------------------------------------------------

Definition at line 155 of file llassetstorage.cpp.

References LLMessageSystem::getMessageTimeSeconds(), mTime, and TRUE.

LLAssetRequest::~LLAssetRequest (  )  [virtual]

Definition at line 177 of file llassetstorage.cpp.


Member Function Documentation

LLSD LLAssetRequest::getFullDetails (  )  const [virtual]

Reimplemented in LLHTTPAssetRequest.

Definition at line 197 of file llassetstorage.cpp.

References LLHost::getIPandPort(), getTerseDetails(), mDataIsInVFS, mDataSentInFirstPacket, mHost, mIsLocal, mIsPriority, mIsTemp, mRequestingAgentID, and tut::sd().

Referenced by LLHTTPAssetRequest::getFullDetails(), and LLAssetStorage::getPendingRequest().

LLSD LLAssetRequest::getTerseDetails (  )  const [virtual]

Reimplemented in LLHTTPAssetRequest.

Definition at line 182 of file llassetstorage.cpp.

References getType(), getUUID(), LLAssetType::lookup(), LLAssetType::lookupHumanReadable(), mTime, and tut::sd().

Referenced by getFullDetails(), and LLHTTPAssetRequest::getTerseDetails().

LLAssetType::EType LLAssetRequest::getType (  )  const [inline]

Definition at line 98 of file llassetstorage.h.

References mType.

Referenced by LLAssetStorage::_callUploadCallbacks(), LLAssetStorage::_cleanupRequests(), LLHTTPAssetStorage::_queueDataRequest(), LLHTTPAssetStorage::checkForTimeouts(), LLHTTPAssetStorage::curlUpCallback(), LLAssetStorage::downloadCompleteCallback(), getTerseDetails(), LLHTTPAssetRequest::prepareCompressedUpload(), and LLAssetStorage::uploadCompleteCallback().

LLUUID LLAssetRequest::getUUID (  )  const [inline]

Definition at line 97 of file llassetstorage.h.

References mUUID.

Referenced by LLAssetStorage::_callUploadCallbacks(), LLAssetStorage::_cleanupRequests(), LLHTTPAssetStorage::checkForTimeouts(), LLHTTPAssetStorage::curlUpCallback(), LLAssetStorage::downloadCompleteCallback(), getTerseDetails(), and LLHTTPAssetRequest::prepareCompressedUpload().

void LLAssetRequest::setTimeout ( F64  timeout  )  [inline]

Definition at line 102 of file llassetstorage.h.

References mTimeout.

void LLAssetRequest::setType ( LLAssetType::EType  type  )  [inline]

Definition at line 101 of file llassetstorage.h.

References mType.

Referenced by LLAssetStorage::downloadCompleteCallback().

void LLAssetRequest::setUUID ( const LLUUID id  )  [inline]

Definition at line 100 of file llassetstorage.h.

References mUUID.

Referenced by LLAssetStorage::downloadCompleteCallback().


Member Data Documentation

BOOL LLAssetRequest::mDataIsInVFS

Definition at line 122 of file llassetstorage.h.

Referenced by getFullDetails().

BOOL LLAssetRequest::mDataSentInFirstPacket

Definition at line 121 of file llassetstorage.h.

Referenced by getFullDetails(), and LLViewerAssetStorage::storeAssetData().

void(* LLAssetRequest::mDownCallback)(LLVFS *, const LLUUID &, LLAssetType::EType, void *, S32, LLExtStat)

Referenced by LLAssetStorage::_cleanupRequests(), LLHTTPAssetStorage::_queueDataRequest(), and LLAssetStorage::downloadCompleteCallback().

LLHost LLAssetRequest::mHost

Definition at line 114 of file llassetstorage.h.

Referenced by getFullDetails(), and LLAssetStorage::uploadCompleteCallback().

void(* LLAssetRequest::mInfoCallback)(LLAssetInfo *, void *, S32)

Referenced by LLAssetStorage::_cleanupRequests().

BOOL LLAssetRequest::mIsLocal

Definition at line 116 of file llassetstorage.h.

Referenced by getFullDetails().

BOOL LLAssetRequest::mIsPriority

Definition at line 120 of file llassetstorage.h.

Referenced by LLHTTPAssetStorage::_queueDataRequest(), and getFullDetails().

BOOL LLAssetRequest::mIsTemp

Definition at line 115 of file llassetstorage.h.

Referenced by getFullDetails().

BOOL LLAssetRequest::mIsUserWaiting

Definition at line 117 of file llassetstorage.h.

Referenced by LLHTTPAssetStorage::bumpTimedOutUploads(), and LLHTTPAssetStorage::checkForTimeouts().

LLUUID LLAssetRequest::mRequestingAgentID

Definition at line 123 of file llassetstorage.h.

Referenced by LLHTTPAssetStorage::checkForTimeouts(), and getFullDetails().

F64 LLAssetRequest::mTime

Definition at line 118 of file llassetstorage.h.

Referenced by LLAssetStorage::_cleanupRequests(), LLHTTPAssetStorage::checkForTimeouts(), getTerseDetails(), and LLAssetRequest().

F64 LLAssetRequest::mTimeout

Definition at line 119 of file llassetstorage.h.

Referenced by LLHTTPAssetStorage::checkForTimeouts(), and setTimeout().

LLAssetType::EType LLAssetRequest::mType [protected]

Definition at line 106 of file llassetstorage.h.

Referenced by getType(), and setType().

void(* LLAssetRequest::mUpCallback)(const LLUUID &, void *, S32, LLExtStat)

Referenced by LLAssetStorage::_callUploadCallbacks(), LLAssetStorage::_cleanupRequests(), and LLViewerAssetStorage::storeAssetData().

void* LLAssetRequest::mUserData

Definition at line 113 of file llassetstorage.h.

Referenced by LLAssetStorage::_callUploadCallbacks(), LLAssetStorage::_cleanupRequests(), LLHTTPAssetStorage::_queueDataRequest(), LLAssetStorage::downloadCompleteCallback(), and LLViewerAssetStorage::storeAssetData().

LLUUID LLAssetRequest::mUUID [protected]

Definition at line 105 of file llassetstorage.h.

Referenced by getUUID(), and setUUID().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:10 2010 for Second Life Viewer by  doxygen 1.4.7