This is a base class that should not be directly instantiated. It provides the facilities and parameters for making a connection to the DataHub to its derived classes. Every web page must contain one applet derived from DataHubBaseApplet. Currently the choices are DataHubViewer or DataHubLink.
Parameter | Type | Default | Description |
---|---|---|---|
name | string | DataHubViewer | A DataHubBaseApplet publishes a name that is used by DataHubListener applets to connect with the DataHubBaseApplet. This name can be any unique string. |
domain | string | DataSim | This parameter determines the data domain in the DataHub that this web page will use. Currently all DataHub points on a web page must come from a single data domain. This applet will subscribe to every data point in the domain. |
host | string | null | The host name running the DataHub. Normally you should not use this parameter. The DataHubBaseApplet will compute the host name from the URL of the page. If you provide this parameter you must also ensure that the Java permissions of your web browser are appropriate to allow the browser to connect to this host. |
port | integer | 4600 | The port number that the DataHub is listening on as a master for mirroring (or tunnelling). |
bgcolor | color | white | The background color of the applet. |
fgcolor | color | black | The foreground color of the applet. |
username | string | null | The user name used to authenticate this connection with the DataHub. |
password | string | null | The password used to authenticate this connection with the DataHub. |
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.