ServiceListenerOnPendingShareRenderArea Method |
Triggered when a connection is pending and the requested renderArea exists.
Namespace: OIV.RemoteViz.Rendering
public virtual bool OnPendingShareRenderArea( RenderArea renderArea, Client client, ConnectionParameters parameters )
: the requested renderArea
: client that is being connected to the service. If the client does not exist yet, this parameter will be null.
: field-value pairs included in the url during the client connection. See connectTo function in RemoteVizRenderArea.
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.
Default behavior : accept the connection by returning true.