27 class TransferTracker {
31 ::ll::TypedStorage<8, 8, ::ClientBlobCache::Server::ActiveTransfersManager&> mCache;
32 ::ll::TypedStorage<8, 176, ::NetworkIdentifier const> mOwner;
33 ::ll::TypedStorage<8, 24, ::std::vector<::ClientBlobCache::Server::ActiveTransfer>> mTransfers;
34 ::ll::TypedStorage<4, 4, uint> mMaxConcurrentTransfers;
39 TransferTracker& operator=(TransferTracker
const&);
40 TransferTracker(TransferTracker
const&);
50 using CacheMap = ::std::map<uint64, ::std::weak_ptr<::ClientBlobCache::Server::Blob>>;
52 using CacheMapIterator = ::std::_Tree_iterator<::std::_Tree_val<
53 ::std::_Tree_simple_types<::std::pair<uint64 const, ::std::weak_ptr<::ClientBlobCache::Server::Blob>>>>>;
63 ::std::unique_ptr<::ClientBlobCache::Server::ActiveTransfersManager::TransferTracker>>>
65 ::ll::TypedStorage<8, 16, ::std::map<uint64, ::std::weak_ptr<::ClientBlobCache::Server::Blob>>> mSentBlobs;
66 ::ll::TypedStorage<8, 8, uint64> mCacheSizeBytes;
78 MCAPI ::std::shared_ptr<::ClientBlobCache::Server::Blob> dropBlobFor(
::NetworkIdentifier const& client, uint64
id);
82 MCAPI ::std::shared_ptr<::ClientBlobCache::Server::Blob>
83 rememberBlob(uint64
id, ::std::string& data,
bool isChunkInTickRange);
85 MCAPI ::ClientBlobCache::Server::TransferBuilder startTransfer(
::NetworkIdentifier const& client)
const;
87 MCAPI ::ClientBlobCache::Server::TransferBuilder tryStartTransfer(
::NetworkIdentifier const& client)
const;