11 #include "RNPlatform/Inc/MemoryTracking.h"
12 #ifndef __NETWORKEMULATION_H__
13 #define __NETWORKEMULATION_H__
15 namespace RNReplicaNet
31 static void SetEnabled(
const bool enable =
false);
110 static void SetJitter(
const float seconds = 0.0f);
120 virtual ~NetworkEmulation() {};
static float GetJitter(void)
ConnectionTypes
Definition: NetworkEmulation.h:42
static int GetMaximumOutputBandwidth(void)
Definition: NetworkEmulation.h:45
static int GetMaximumInputBandwidth(void)
static void SetPacketLoss(const float percent=0)
static float GetAverageLatency(void)
static void SetConnection(const ConnectionTypes type=kPerfect, const bool enable=true)
Definition: NetworkEmulation.h:44
Definition: NetworkEmulation.h:23
Definition: NetworkEmulation.h:48
static float GetPacketLoss(void)
Definition: NetworkEmulation.h:47
Definition: NetworkEmulation.h:46
static void SetEnabled(const bool enable=false)
static void SetMaximumInputBandwidth(const int bytesPerSecond=0)
static bool GetEnabled(void)
static void SetJitter(const float seconds=0.0f)
static void SetMaximumOutputBandwidth(const int bytesPerSecond=0)
static void SetAverageLatency(const float seconds=0.0f)