Class VertxBrowserHelper


  • @Deprecated
    public class VertxBrowserHelper
    extends HelperBase
    Deprecated.
    The browser module is now using WebSocketServerHelper and WebSocketHelper.
    A helper class for the Vert.x browser API.
    Since:
    Ptolemy II 11.0
    Version:
    $Id$
    Author:
    Edward A. Lee
    Pt.AcceptedRating:
    Red (pd)
    Pt.ProposedRating:
    Yellow (pd)
    • Constructor Detail

      • VertxBrowserHelper

        public VertxBrowserHelper​(java.lang.Object actor,
                                  jdk.nashorn.api.scripting.ScriptObjectMirror currentObj)
                           throws java.io.IOException
        Deprecated.
        Create the system default camera. If the system does not have a physical camera, then the dummy is used.
        Parameters:
        actor - The actor associated with this camera.
        currentObj - The JavaScript object that this is helping.
        Throws:
        java.io.IOException - If there is no such camera.
    • Method Detail

      • createServer

        public VertxBrowserHelper.Server createServer​(int port)
        Deprecated.
        Create a web server that serves the specified string.
        Parameters:
        port - The port to listen for requests on.
        Returns:
        A new VertxHelper.