This class can be overridden by an application to receive notifications from a OIV.RemoteViz.Rendering.RenderArea.
The RenderAreaListener type exposes the following members.
Determines whether the specified Object is equal to the current Object.(Inherited from Object.)
Overrides GetHashCode().(Inherited from SoNetBase.)
Gets the Type of the current instance.(Inherited from Object.)
Triggered when a connection is closed.
Triggered when the connection and the frame encoders are initialized successfully.
Triggered when a KeyDown event is received from the client.
Triggered when a KeyUp event is received from the client.
Triggered when a MouseDoubleClick event is received from the client.
Triggered when a MouseDown event is received from the client.
Triggered when a MouseEnter event is received from the client.
Triggered when a MouseLeave event is received from the client.
Triggered when a MouseMove event is received from the client.
Triggered when a MouseUp event is received from the client.
Triggered when a mouse wheel event (rotatation) is received from the client.
Triggered when a client connects to the OIV.RemoteViz.Rendering.RenderArea.
Triggered after a rendering is done.
Triggered before a rendering is done.
|OnReceivedMessage(RenderArea, Connection, IListByte)|
Triggered when a binary message is received from a client.
|OnReceivedMessage(RenderArea, Connection, String)|
Triggered when a text message is received from a client.
Triggered when a frame encoder cannot be initialized.
Triggered when a new frame is requested by a connection.
Triggered when a client requests a new renderArea size.
Triggered when the renderArea is resized.
Triggered before sending a frame to the client.
Triggered when a TouchEnd event is received from the client.
Triggered when a TouchMove event is received from the client.
Triggered when a TouchStart event is received from the client.
Returns a string that represents the current object.(Inherited from Object.)
There are several categories of notifications:
OIV.RemoteViz.Rendering.Connection: To know when a connection has been created, initialized and disposed.
Render: To know the start/end of rendering and when an image is sent to the client.
Input events: To handle MouseDown, MouseUp, etc. events triggered by the user.
Messages: To handle messages sent from the client.
For notifications related to the lifetime of the OIV.RemoteViz.Rendering.RenderArea itself, see the OIV.RemoteViz.Rendering.ServiceListener class.
Typically the application will attach a listener to the OIV.RemoteViz.Rendering.RenderArea in the onInstantiatedRenderArea() method of its OIV.RemoteViz.Rendering.ServiceListener. But applications can also create a OIV.RemoteViz.Rendering.RenderArea explicitly and attach a listener.
A typical sequence of calls to this listener is:
OIV.RemoteViz.Rendering.RenderAreaListener.OnOpenedConnection(OIV.RemoteViz.Rendering.RenderArea, OIV.RemoteViz.Rendering.Connection, OIV.RemoteViz.Rendering.FrameEncoders)OIV.RemoteViz.Rendering.Connection object has been created (isOpen will return true)
OIV.RemoteViz.Rendering.RenderAreaListener.OnInitializedConnection(OIV.RemoteViz.Rendering.RenderArea, OIV.RemoteViz.Rendering.Connection, OIV.RemoteViz.Rendering.FrameEncoders)OIV.RemoteViz.Rendering.Connection is fully initialized (e.g. calibration has finished) While application is rendering...
OIV.RemoteViz.Rendering.RenderAreaListener.OnPreRender(OIV.RemoteViz.Rendering.RenderArea, System.Boolean@, System.Boolean@) Scene will be rendered
OIV.RemoteViz.Rendering.RenderAreaListener.OnPostRender(OIV.RemoteViz.Rendering.RenderArea) Scene has been rendered
OIV.RemoteViz.Rendering.RenderAreaListener.OnSendingFrame(OIV.RemoteViz.Rendering.RenderArea, OIV.RemoteViz.Rendering.Connection, System.String@) Rendered image will be sent to client
OIV.RemoteViz.Rendering.RenderAreaListener.OnClosedConnection(OIV.RemoteViz.Rendering.RenderArea, System.String, System.Boolean)OIV.RemoteViz.Rendering.Connection object has been disposed (isOpen will return false)