public class NetworkPerformance extends Inventor
ServiceListener.onConnectedClient()
method.
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, getNativeResourceHandle
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 int getMaxCalibrationDuration()
public int getBandwidth()
ConnectionSettings.setFrameEncodingPolicy
). The higher the value, the better the quality and the number of interactive frames.
public void setMaxCalibrationDuration(int val)
val
- : max calibration duration in millisecondspublic int getLatency()
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com