LLCacheName::Impl Class Reference

Collaboration diagram for LLCacheName::Impl:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Impl (LLMessageSystem *msg)
 ~Impl ()
void processPendingAsks ()
void processPendingReplies ()
void sendRequest (const char *msg_name, const AskQueue &queue)
bool isRequestPending (const LLUUID &id)
void processUUIDRequest (LLMessageSystem *msg, bool isGroup)
void processUUIDReply (LLMessageSystem *msg, bool isGroup)
void notifyObservers (const LLUUID &id, const char *first, const char *last, BOOL group)

Static Public Member Functions

static void handleUUIDNameRequest (LLMessageSystem *msg, void **userdata)
static void handleUUIDNameReply (LLMessageSystem *msg, void **userdata)
static void handleUUIDGroupNameRequest (LLMessageSystem *msg, void **userdata)
static void handleUUIDGroupNameReply (LLMessageSystem *msg, void **userdata)

Public Attributes

LLMessageSystemmMsg
LLHost mUpstreamHost
Cache mCache
AskQueue mAskNameQueue
AskQueue mAskGroupQueue
PendingQueue mPendingQueue
ReplyQueue mReplyQueue
Observers mObservers
LLFrameTimer mProcessTimer


Detailed Description

Definition at line 198 of file llcachename.cpp.


Constructor & Destructor Documentation

LLCacheName::Impl::Impl ( LLMessageSystem msg  ) 

LLCacheName::Impl::~Impl (  ) 

Definition at line 275 of file llcachename.cpp.

References mCache.


Member Function Documentation

void LLCacheName::Impl::processPendingAsks (  ) 

Definition at line 724 of file llcachename.cpp.

References _PREHASH_UUIDGroupNameRequest, _PREHASH_UUIDNameRequest, mAskGroupQueue, mAskNameQueue, and sendRequest().

Referenced by LLCacheName::processPending().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLCacheName::Impl::processPendingReplies (  ) 

Definition at line 732 of file llcachename.cpp.

References FALSE, get_ptr_in_map(), PendingReply::isDone(), mCache, LLCacheNameEntry::mFirstName, LLCacheNameEntry::mGroupName, LLCacheNameEntry::mIsGroup, LLCacheNameEntry::mLastName, mMsg, mReplyQueue, ReplySender::send(), and TRUE.

Referenced by LLCacheName::processPending().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLCacheName::Impl::sendRequest ( const char *  msg_name,
const AskQueue queue 
)

Definition at line 781 of file llcachename.cpp.

References _PREHASH_ID, _PREHASH_UUIDNameBlock, LLMessageSystem::addUUIDFast(), LLMessageSystem::isSendFullFast(), mMsg, mUpstreamHost, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().

Referenced by processPendingAsks().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLCacheName::Impl::isRequestPending ( const LLUUID id  ) 

Definition at line 827 of file llcachename.cpp.

References mPendingQueue, NULL, and PENDING_TIMEOUT_SECS.

Referenced by LLCacheName::get(), LLCacheName::getGroupName(), LLCacheName::getName(), and processUUIDRequest().

Here is the caller graph for this function:

void LLCacheName::Impl::processUUIDRequest ( LLMessageSystem msg,
bool  isGroup 
)

void LLCacheName::Impl::processUUIDReply ( LLMessageSystem msg,
bool  isGroup 
)

void LLCacheName::Impl::handleUUIDNameRequest ( LLMessageSystem msg,
void **  userdata 
) [static]

Definition at line 950 of file llcachename.cpp.

Referenced by Impl().

Here is the caller graph for this function:

void LLCacheName::Impl::handleUUIDNameReply ( LLMessageSystem msg,
void **  userdata 
) [static]

Definition at line 945 of file llcachename.cpp.

Referenced by Impl().

Here is the caller graph for this function:

void LLCacheName::Impl::handleUUIDGroupNameRequest ( LLMessageSystem msg,
void **  userdata 
) [static]

Definition at line 955 of file llcachename.cpp.

Referenced by Impl().

Here is the caller graph for this function:

void LLCacheName::Impl::handleUUIDGroupNameReply ( LLMessageSystem msg,
void **  userdata 
) [static]

Definition at line 960 of file llcachename.cpp.

Referenced by Impl().

Here is the caller graph for this function:

void LLCacheName::Impl::notifyObservers ( const LLUUID id,
const char *  first,
const char *  last,
BOOL  group 
)

Definition at line 815 of file llcachename.cpp.

References i, mObservers, and NULL.

Referenced by processUUIDReply().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 201 of file llcachename.cpp.

Referenced by Impl(), processPendingReplies(), and sendRequest().

Definition at line 219 of file llcachename.cpp.

Referenced by LLCacheName::processPending().


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

Generated on Fri May 16 08:39:38 2008 for SecondLife by  doxygen 1.5.5