Click or drag to resize
ServiceListenerOnConnectedClient Method

Triggered when a client is connected to the service.

Namespace: OIV.RemoteViz.Rendering
Assembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public virtual void OnConnectedClient(
	string clientId,
	NetworkPerformance networkPerformance
)

Parameters

clientId
Type: SystemString

: ID identifying the client

networkPerformance
Type: OIV.RemoteViz.RenderingNetworkPerformance

: network performance for the client.

Remarks

Default behavior : do nothing

If network performance calibration is enabled, the network bandwidth is measured after this call and before calling OIV.RemoteViz.Rendering.ServiceListener.OnInitializedClient(OIV.RemoteViz.Rendering.Client, OIV.RemoteViz.Rendering.NetworkPerformance). Therefore the OIV.RemoteViz.Rendering.NetworkPerformance queries getBandwidth and getLatency will return zero at this point. Use the queries in onInitializedClient to get the measured values.

Calibration is enabled by default. Calibration can be disabled using the networkPerformance parameter (see ()). The duration of the calibration measurement (default 5 seconds) can also be modified (see ()).

See Also