Click or drag to resize
Connection Class

Represents a connection from a OIV.RemoteViz.Rendering.Client to a OIV.RemoteViz.Rendering.RenderArea managed by the RemoteViz service.

Inheritance Hierarchy

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

The Connection type exposes the following members.

Methods
  NameDescription
Public methodClose

Closes the connection.

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 methodSendMessage(Byte)

Sends a binary message to the client.

Public methodSendMessage(String)

Sends a text message to the client.

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

Gets the id of the client associated with the connection.

Public propertyContainerHeight

Gets the client container height.

Public propertyContainerWidth

Gets the client container width.

Public propertyId

Gets the id of the connection.

Public propertyLastEncodedFrame

Gets the last encoded frame sent by the connection.

Public propertyParameters

Gets the connection parameters (field-value pairs included in the url during the client connection).

Public propertyRenderArea

Gets the OIV.RemoteViz.Rendering.RenderArea associated with the connection.

Public propertyRequestedHeight

Gets the last renderArea height requested by the client.

Public propertyRequestedWidth

Gets the last renderArea width requested by the client.

Public propertySettings

Gets the connection settings.

Top
Remarks

RemoteViz is protected by the Open Inventor license key mechanism limiting its usage to specified computers or network environments based on commercial agreements. RemoteViz uses floating licenses managed by a license server or an encrypted "master password" string (see OIV.Inventor.Lock.SoLockManager).

Each OIV.RemoteViz.Rendering.Connection requires one RemoteViz license (an SDK license for development/debugging or Runtime license for deployment).

If no license is found, the listener OIV.RemoteViz.Rendering.ServiceListener.OnMissingLicense(System.String, OIV.RemoteViz.Rendering.ConnectionParameters) will be triggered.

See Also