Click or drag to resize
ServiceListenerOnPendingShareRenderArea Method

Triggered when a connection is pending and the requested renderArea exists.

Namespace: OIV.RemoteViz.Rendering
Assembly: OIV.RemoteViz (in OIV.RemoteViz.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public virtual bool OnPendingShareRenderArea(
	RenderArea renderArea,
	Client client,
	ConnectionParameters parameters
)

Parameters

renderArea
Type: OIV.RemoteViz.RenderingRenderArea

: the requested renderArea

client
Type: OIV.RemoteViz.RenderingClient

: client that is being connected to the service. If the client does not exist yet, this parameter will be null.

parameters
Type: OIV.RemoteViz.RenderingConnectionParameters

: field-value pairs included in the url during the client connection. See connectTo function in RemoteVizRenderArea.

Return Value

Type: Boolean

true if the connection is accepted, otherwise returns false. In this case, the client will be notified by an REFUSED disconnect message. If there are many listeners, the logical operator OR will be applied on all the returned value of listeners. If there are no listeners to call, the connection will be accepted.

Remarks

Default behavior : accept the connection by returning true.

See Also