RenderAreaListenerOnClosedConnection Method |
Triggered when a connection is closed.
Namespace: OIV.RemoteViz.RenderingAssembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public virtual void OnClosedConnection(
RenderArea renderArea,
string connectionId,
bool aborted
)
Public Overridable Sub OnClosedConnection (
renderArea As RenderArea,
connectionId As String,
aborted As Boolean
)
public:
virtual void OnClosedConnection(
RenderArea^ renderArea,
String^ connectionId,
bool aborted
)
abstract OnClosedConnection :
renderArea : RenderArea *
connectionId : string *
aborted : bool -> unit
override OnClosedConnection :
renderArea : RenderArea *
connectionId : string *
aborted : bool -> unit
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