Click or drag to resize
ClientIsConnected Property

Gets the state of the OIV.RemoteViz.Rendering.Client: connected or disconnected.

Namespace: OIV.RemoteViz.Rendering
Assembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public bool IsConnected { get; }

Return Value

Type: Boolean

true if the client is connected or false if the client is disconnected.

Remarks

Connected (true) means the OIV.RemoteViz.Rendering.Client has at least one active OIV.RemoteViz.Rendering.Connection. When a OIV.RemoteViz.Rendering.Client is being disconnected, the OIV.RemoteViz.Rendering.ServiceListener method onDisconnectedClient() is called. Just before this call, the OIV.RemoteViz.Rendering.Client state is set to "disconnected". Following this call, the OIV.RemoteViz.Rendering.Client object will no longer be referenced by RemoteViz and will be disposed unless the application holds a reference. RemoteViz will never reuse the object internally.

See Also