summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMonroe Linden <monroe@lindenlab.com>2010-07-29 15:50:20 -0700
committerMonroe Linden <monroe@lindenlab.com>2010-07-29 15:50:20 -0700
commit94655359aaa45ef5849cb589f637331b3bcc394c (patch)
treeb73b66828d4dbec3aad41c80a0d515b07ef349a8 /scripts
parent112abfe8886c49a16ca3a91a10152f7a1d0da000 (diff)
Yet more cleanup around llmediadataclient.
In LLVOVolume, added a count of LLMediaDataClientObjectImpl objects referencing each LLVOVolume object. This allows LLVOVolume::markDead() to skip the relatively expensive calls to removeFromQueue() when the LLVOVolume is known to have no active references. Refactored LLMediaDataClient and its two child classes so that only LLObjectMediaDataClient has the round-robin queue (LLObjectMediaNavigateClient doesn't need it), and cleaned up some of the virtual function hierarchy around queue processing. In LLMediaDataClient, added tracking for requests that aren't currently in a queue (i.e. requests that are in flight or waiting for retries) so they can be found when their objects are marked dead. LLMediaDataClient::Request now directly keeps track of the object ID and face associated with the request. Removed the "markedSent" concept from requests. Requests that have been sent are no longer kept in a queue. The Retry timer now references the Request object instead of the Responder. Replaced LLMediaDataClient::findOrRemove() with separate template functions for find and remove.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions