class InputEmulationDevice : public nn::nex::EmulationDevice
Defines input network devices. Feature for debugging.
The input network device can be referenced by RootTransportGetInputEmulationDevice
, so you can get it by running RootTransport::GetInstance() -> GetInputEmulationDevice()
.
Before using the emulation device you must call RootTransport::GetInstance() -> GetInputEmulationDevice() ->Enable()
.
This class inherits EmulationDevice
, so it does not have special defined methods.
SetLatency
|
Sets the latency when sending, in milliseconds. (Inherits EmulationDevice ) |
|
---|---|---|
SetJitter
|
Sets the jitter in the latency, in milliseconds. (Inherits EmulationDevice ) |
|
SetBandwidth
|
Specifies the constraint on bandwidth speed, in bits per second (bps). (Inherits EmulationDevice ) |
|
GetLatency
|
Gets the latency when sending, in milliseconds. (Inherits EmulationDevice ) |
|
GetJitter
|
Gets the jitter in the latency, in milliseconds. (Inherits EmulationDevice ) |
|
GetBandwidth
|
Gets the constraint on bandwidth speed, in bps. (Inherits EmulationDevice ) |
|
SetPacketDropProbability
|
Sets the packet loss rate. (Inherits EmulationDevice ) |
|
GetPacketDropProbability
|
Gets the packet loss rate. (Inherits EmulationDevice ) |
|
IsEnabled
|
Determines whether network emulation is enabled. (Inherits EmulationDevice ) |
|
V |
Enable
|
Enables network emulation. |
nn::nex::RootObject
nn::nex::EmulationDevice
nn::nex::InputEmulationDevice
CONFIDENTIAL