public class NetworkPerformance extends Inventor
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
void |
enableCalibration(boolean val)
Enable or disable network performance calibration.
|
int |
getBandwidth()
Gets the estimated network bandwidth between the service and the client.
|
int |
getLatency()
Gets the estimated network latency (round-trip time) between the service and the client.
|
int |
getMaxCalibrationDuration()
Gets the network performance calibration maximum duration.
|
boolean |
isCalibrationEnabled()
Return if the network performance calibration is enabled.
|
void |
setMaxCalibrationDuration(int val)
Sets the network performance calibration maximum duration.
|
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public boolean isCalibrationEnabled()
public void enableCalibration(boolean val)
val
- : true to enable, false to disable@see com.openinventor.remoteviz.rendering.ServiceListener#onConnectedClient(java.lang.String, com.openinventor.remoteviz.rendering.NetworkPerformance) ServiceListener.onConnectedClientpublic void setMaxCalibrationDuration(int val)
val
- : max calibration duration in millisecondspublic int getBandwidth()
ConnectionSettings.setFrameEncodingPolicy
). The higher the value, the better the quality and the number of interactive frames.
public int getLatency()
public int getMaxCalibrationDuration()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com