Click or drag to resize
RenderAreaListenerOnClosedConnection Method

Triggered when a connection is closed.

Namespace: OIV.RemoteViz.Rendering
Assembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public virtual void OnClosedConnection(
	RenderArea renderArea,
	string connectionId,
	bool aborted
)

Parameters

renderArea
Type: OIV.RemoteViz.RenderingRenderArea

: the OIV.RemoteViz.Rendering.RenderArea

connectionId
Type: SystemString

: ID identifying the connection

aborted
Type: SystemBoolean

: true if the network connection was closed unexpectedly by the client or has been lost.

Remarks

Default behavior : Dispose the renderArea if all its connections are closed and the application does not have a reference to the renderArea. If the application has a reference, it can use () to know the state.

See Also