Click or drag to resize
Monitoring Class

This class enables to manage metrics listeners that monitor states and performance of the service.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.RemoteViz.RenderingMonitoring

Namespace: OIV.RemoteViz.Rendering
Assembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public sealed class Monitoring : SoNetBase

The Monitoring type exposes the following members.

Methods
  NameDescription
Public methodAddListener

Adds a listener for metrics.

Public methodEnableMetrics

Enable metrics By default, all metrics are disabled.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsMetricEnabled

Check if a metric is enabled.

Public methodRemoveListener

Removes a listener for metrics.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyNumListeners

Return the number of listeners.

Top
Remarks

A OIV.RemoteViz.Rendering.Monitoring object is automatically created by RemoteViz. Use the Service.getMonitoring() method to get this object and (for example) add a listener.

See $OIVHOME/examples/source/RemoteViz/Monitoring

See Also