3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/network/NetworkIdentifier.h"
13namespace ClientBlobCache::Server {
class Blob; }
17namespace ClientBlobCache::Server {
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;
82 MCNAPI ::std::shared_ptr<::ClientBlobCache::Server::Blob>
83 rememberBlob(uint64
id, ::std::string& data,
bool isChunkInTickRange);
Definition EnableNonOwnerReferences.h:7
Definition ActiveTransfer.h:7
Definition ActiveTransfersManager.h:27
MCAPI void onAckReceived(uint64 acked)
Definition ActiveTransfersManager.h:19
MCAPI::ClientBlobCache::Server::TransferBuilder startTransfer(::NetworkIdentifier const &client) const
MCAPI::ClientBlobCache::Server::TransferBuilder tryStartTransfer(::NetworkIdentifier const &client) const
MCAPI ::std::shared_ptr<::ClientBlobCache::Server::Blob > dropBlobFor(::NetworkIdentifier const &client, uint64 id)
MCAPI ::std::shared_ptr<::ClientBlobCache::Server::Blob > rememberBlob(uint64 id, ::std::string &data, bool isChunkInTickRange)
MCAPI void updateNetworkConditions(::ServerNetworkSystem &handler)
static MCAPI void ** $vftable()
Definition TransferBuilder.h:7
Definition NetworkIdentifier.h:10
Definition ServerNetworkSystem.h:34