Click or drag to resize
Service Class

Defines the RemoteViz rendering service.

Inheritance Hierarchy

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

The Service type exposes the following members.

Methods
  NameDescription
Public methodAddListener
Public methodClose

Closes the rendering service.

Public methodCreateRenderArea

Creates a renderArea.

Public methodDispatch

This method has to be used with the ServiceSettings.INVENTOR_SERVICE and ServiceSettings.INDEPENDENT_SERVICE mode in a loop.

Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetClient(String)

Gets a Client from id.

Public methodGetClient(UInt32)

Gets a Client from index.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetNumClients

Gets the number of clients.

Public methodGetNumListeners

Gets the number of ServiceListener.

Public methodGetNumRenderAreas

Gets the number of renderAreas.

Public methodGetRenderArea(String)

Gets a RenderArea from id.

Public methodGetRenderArea(UInt32)

Gets a RenderArea from index.

Public methodGetSettings

Gets the settings of the service.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsRunning

This method is used to know if the rendering service is running.

Public methodOpen

Opens the rendering service.

Public methodRemoveAllListeners

Removes all ServiceListeners.

Public methodRemoveListener

Removes a ServiceListener.

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

Renderering service instance (Singleton)

Top
Remarks

This class uses the singleton pattern restricting its instantiation to a single unique object in the program (see instance). To use RemoteViz, the service has to be opened with the method "Open". The implementation of class ServiceListener enables you to manage the service events.

See Also