-
Notifications
You must be signed in to change notification settings - Fork 26
PortholeService
Alessandro Febretti edited this page Aug 28, 2013
·
3 revisions
[[module omegaToolkit | Python-Reference#module-omegatoolkit]]
Manages the Porthole, a web-based interaction and display service for omegalib applications.
Method(s) | Description |
---|---|
createAndInitialize(port, xmlPath, cssPath) static
|
Creates a new instance of the porthole service |
# Starts up the porthole service.
# The service will accept web requests on port 4480
# app/app.xml contains the web interface definition (gui elements, output windows etc)
# app/app.css defines the style of the interface. Can be left empty
svc = PortholeService.createAndInitialize(4480, 'app/app.xml', 'app/app.css')