Represents the configuration for network simulation. More...
Static Public Member Functions | |
static NetConfigSimulation | WithLossNotifySequences (params short[] sequences) |
Creates a configuration with specified loss notification sequences. More... | |
Public Attributes | |
NetConfigSimulationOscillator | DelayOscillator |
The oscillator used for simulating delay. More... | |
double | DuplicateChance |
The chance of a duplicate packet. More... | |
short * | LossNotifySequences |
Pointer to the sequences used for loss notifications. More... | |
int | LossNotifySequencesLength |
The length of the loss notification sequences. More... | |
NetConfigSimulationOscillator | LossOscillator |
The oscillator used for simulating loss. More... | |
Properties | |
static NetConfigSimulation | Defaults [get] |
Gets the default configuration for network simulation. More... | |
Represents the configuration for network simulation.
|
static |
Creates a configuration with specified loss notification sequences.
sequences | The sequences to be used for loss notifications. |
NetConfigSimulationOscillator DelayOscillator |
The oscillator used for simulating delay.
double DuplicateChance |
The chance of a duplicate packet.
short* LossNotifySequences |
Pointer to the sequences used for loss notifications.
int LossNotifySequencesLength |
The length of the loss notification sequences.
NetConfigSimulationOscillator LossOscillator |
The oscillator used for simulating loss.
|
staticget |
Gets the default configuration for network simulation.