Class VertxBrowserHelper
- java.lang.Object
-
- ptolemy.actor.lib.jjs.HelperBase
-
- ptolemy.actor.lib.jjs.modules.userInterface.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)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
VertxBrowserHelper.Server
Deprecated.A http server that gets and sets responses.-
Nested classes/interfaces inherited from class ptolemy.actor.lib.jjs.HelperBase
HelperBase.DATA_TYPE
-
-
Field Summary
-
Fields inherited from class ptolemy.actor.lib.jjs.HelperBase
_actor, _currentObj
-
-
Constructor Summary
Constructors Constructor Description VertxBrowserHelper(java.lang.Object actor, jdk.nashorn.api.scripting.ScriptObjectMirror currentObj)
Deprecated.Create the system default camera.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description VertxBrowserHelper.Server
createServer(int port)
Deprecated.Create a web server that serves the specified string.-
Methods inherited from class ptolemy.actor.lib.jjs.HelperBase
_appendNumericToBuffer, _appendToBuffer, _error, _error, _error, _error, _extractFromBuffer, _issueResponse, _removeDuplicates, _sizeOfType, _toJavaBytes, _toJSArray, getHelping
-
-
-
-
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.
-
-