|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Info about the environment (IPaq or workstation) we're running on. Provides a proxy object to interface with the local workstation (or remote, if a Session object is received for a remot workstation).
Field Summary | |
static int |
ST_IPAQ
An iPaq |
static int |
ST_SMARTCENTRAL
The Smart Central computer |
static int |
ST_WEBSERVER
Smart client running a web application --- one Session object per web session being handled. |
static int |
ST_WORKSTATION
A Smart Workstation --- has serial connection with iPaq |
Method Summary | |
java.lang.String |
getStationID()
ID of the iPaq or workstation on which we are running. |
int |
getStationRole()
Type of workstation this is --- iPaq, Standalone, etc. |
UserID |
getUserID()
User logged onto this station. |
SmartCentral |
openSmartCentral()
Open a connection to Smart Central |
SmartDB |
openSmartDB()
Open a connection to the Smart DB |
Methods inherited from interface dsg.smart.ModuleEnv |
addModule, connectModules, removeModule, startModules, stopModules |
Field Detail |
public static final int ST_SMARTCENTRAL
public static final int ST_IPAQ
public static final int ST_WORKSTATION
public static final int ST_WEBSERVER
Method Detail |
public java.lang.String getStationID()
public UserID getUserID()
public int getStationRole()
public SmartDB openSmartDB() throws SmartException
SmartException
public SmartCentral openSmartCentral() throws SmartException
SmartException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |