Open Inventor Release 2024.1.1
 
Loading...
Searching...
No Matches
ConnectionManagement example

Filter the client connections.

This example shows you how to filter the client connections (accept or refuse) by using the GET parameters included in the RemoteViz Service URI. The login is "user" and the password is "password".

Run the example:

  1. Go to "OIVHOME/examples/bin/OIVARCH/RemoteViz" and run the executable "ConnectionManagementRenderingService".
  2. Go to "OIVHOME/examples/source/RemoteViz/ConnectionManagement/Clients/HTML5" and open the "index.html" file inside a web browser.

Note: In this example, the RemoteViz service uses the localhost IP address (127.0.0.1) by default. To run it on a web server, start the example by passing the service IP address and port as arguments (ex : ConnectionManagementRenderingService 192.168.0.1 8082) and edit the file "index.html" (client side) to modify the IP address and the port.

SCREENSHOT:

FILES:

    • RemoteViz/ConnectionManagement/ConnectionManagementRenderingService/include/ConnectionManagementServiceListener.h
    • RemoteViz/ConnectionManagement/ConnectionManagementRenderingService/src/ConnectionManagementServiceListener.cxx
    • RemoteViz/ConnectionManagement/ConnectionManagementRenderingService/src/main.cxx
    • RemoteViz/ConnectionManagement/Clients/HTML5/index.html