Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
L
M
N
O
P
R
S
T
U
W
A
addModule(StreamModule)
- Method in interface dsg.smart.
ModuleEnv
Register a module with the session; necessary before the module can be started, stopped, etc.
addModule(StreamModule)
- Method in class dsg.smart.simul.
WorkstationSession
Register a module; returns an integer used to later identify that stream module within this session.
addUser(UserID, Permissions)
- Method in interface dsg.smart.
SmartDB
Adds a user (with permissions) to the system
B
BadModuleHandleException
- exception dsg.smart.
BadModuleHandleException
.
A bad (out of range) index number was used to specify a module, an input or an output.
BadModuleHandleException(String)
- Constructor for class dsg.smart.
BadModuleHandleException
C
checkinHandheld(String)
- Method in interface dsg.smart.
SmartDB
Check in a Handheld
checkoutHandheld(String, UserID, HandheldConfiguration)
- Method in interface dsg.smart.
SmartDB
Check out an Handheld: Puts a ConfigurationRecord into the system.
connectModules(StreamModule, int, StreamModule, int)
- Method in interface dsg.smart.
ModuleEnv
Connect together two modules: output #outputA of module #moduleA is piped to input #inputB of module #moduleB.
connectModules(StreamModule, int, StreamModule, int)
- Method in class dsg.smart.simul.
WorkstationSession
createPeer(InputStream, OutputStream, Session)
- Method in interface dsg.smart.
PeerCreator
fin is the input stream coming FROM the client side.
D
DefaultSMContext
- class dsg.smart.
DefaultSMContext
.
Operations provided by system to the stream module when the module is started.
DefaultSMContext(Session)
- Constructor for class dsg.smart.
DefaultSMContext
DoubleSink
- class dsg.smart.test.
DoubleSink
.
A stream module with one input.
DoubleSink()
- Constructor for class dsg.smart.test.
DoubleSink
dsg.smart
- package dsg.smart
The main interfaces defining the interaction between Smart system and application layers.
dsg.smart.simul
- package dsg.smart.simul
Simple simulation environment for Stream Modules.
dsg.smart.test
- package dsg.smart.test
Classes to test Smart and demonstrate how it is programmed.
E
EmployeeID
- class dsg.smart.
EmployeeID
.
Class to identify BWH employees by their BWH employee ID.
EmployeeID(String)
- Constructor for class dsg.smart.
EmployeeID
EmployeeID.FormatException
- exception dsg.smart.
EmployeeID.FormatException
.
Indicates a problem with the format of an EmployeeID when trying to convert from a String.
EmployeeID.FormatException()
- Constructor for class dsg.smart.
EmployeeID.FormatException
equals(UserID)
- Method in class dsg.smart.
EmployeeID
equals(UserID)
- Method in class dsg.smart.
PatientID
equals(UserID)
- Method in class dsg.smart.
ResearcherID
equals(UserID)
- Method in interface dsg.smart.
UserID
F
fetchTimeseries(String, int)
- Method in interface dsg.smart.
SmartDB
Get a timeseries handle --- by iPaq on which it was recorded, and instrument within the ipaq.
fin
- Variable in class dsg.smart.
SmartCentral.GetPeerRet
The stream coming FROM the Smart Central peer TO the local system.
fout
- Variable in class dsg.smart.
SmartCentral.GetPeerRet
The stream coming FROM the local system TO the Smart Central peer
G
getDate(int)
- Method in interface dsg.smart.
Timeseries
Gets date of the nth point
getDateCreated()
- Method in interface dsg.smart.
TimeseriesSpec
Timestamp of when the timeseries was created --- this must be equal to or before the data o the first data element.
getDateIndex(Date)
- Method in interface dsg.smart.
IntTimeseries
Gets the index of the point closest to date
getDelta()
- Method in interface dsg.smart.
Timeseries
Number of milliseconds between measurements; zero if irregular timeseries.
getFirst()
- Method in interface dsg.smart.
Timeseries
Timestamp of first datapoint in timeseries
getID()
- Method in interface dsg.smart.
StationID
Returns a string representation of the ID
getInput(int)
- Method in class dsg.smart.
SMBase
getInput(int)
- Method in interface dsg.smart.
StreamModule
Returns the stream attached to the ith input.
getInstrument()
- Method in interface dsg.smart.
TimeseriesSpec
Instrument attached to the iPaq --- see above constants.
getLast()
- Method in interface dsg.smart.
Timeseries
Timestamp of last datapoint in timesries
getNullValue()
- Method in interface dsg.smart.
IntTimeseries
Value reported for missing datapoints.
getNumInputs()
- Method in class dsg.smart.
SMBase
getNumInputs()
- Method in interface dsg.smart.
StreamModule
How many inputs does this stream module have?
getNumOutputs()
- Method in class dsg.smart.
SMBase
getNumOutputs()
- Method in interface dsg.smart.
StreamModule
How many outputs does this stream module have?
getNumPoints()
- Method in interface dsg.smart.
Timeseries
# of datapoints in timeseries
getOutput(int)
- Method in class dsg.smart.
SMBase
getOutput(int)
- Method in interface dsg.smart.
StreamModule
Returns the output stream attached to the ith output.
getPeer(PeerCreator)
- Method in interface dsg.smart.
SmartCentral
Forms a nonblocking socket with SMART Central.
getPermissions()
- Method in interface dsg.smart.
SmartDB
Returns logged in user's permissions
getPoint(int)
- Method in interface dsg.smart.
IntTimeseries
Get the nth point
getPoints(int, int)
- Method in interface dsg.smart.
IntTimeseries
Gets a bunch of points
getSession()
- Method in class dsg.smart.
DefaultSMContext
Session in which the associated stream module is running.
getSession()
- Method in interface dsg.smart.
SMContext
Session in which the associated stream module is running.
getSpec()
- Method in interface dsg.smart.
Timeseries
Description of what this timeseries records
getStationID()
- Method in interface dsg.smart.
Session
ID of the iPaq or workstation on which we are running.
getStationID()
- Method in interface dsg.smart.
TimeseriesSpec
iPaq on which this was collected
getStationID()
- Method in class dsg.smart.simul.
WorkstationSession
ID of the iPaq or workstation on which we are running.
getStationRole()
- Method in interface dsg.smart.
Session
Type of workstation this is --- iPaq, Standalone, etc.
getStationRole()
- Method in class dsg.smart.simul.
WorkstationSession
Type of workstation this is --- iPaq, Standalone, etc.
getUserID()
- Method in interface dsg.smart.
Session
User logged onto this station.
getUserID()
- Method in class dsg.smart.simul.
WorkstationSession
User logged onto this station.
I
I_EKG1
- Static variable in interface dsg.smart.
TimeseriesSpec
Constant indicating EKG lead no. 1 on an iPaq
I_EKG2
- Static variable in interface dsg.smart.
TimeseriesSpec
Constant indicating EKG lead no. 2 on an iPaq
I_OXYMETER
- Static variable in interface dsg.smart.
TimeseriesSpec
Constant indicating an oxymeter on an iPaq
IntTimeseries
- interface dsg.smart.
IntTimeseries
.
Example of timeseries of a specific data type --- in this case, a timeseries implementing a stream of integers.
L
login(UserID, String)
- Method in class dsg.smart.
SmartLogin
Log in for starters.
login(UserID, String)
- Method in class dsg.smart.simul.
SmartLoginSimul
loginUser(UserID)
- Method in interface dsg.smart.
SmartDB
Logs in a user without password; availabe if allowAuthenticate.
M
ModuleEnv
- interface dsg.smart.
ModuleEnv
.
Portion of a Session interface, allowing the manipulation of modules on a computer.
main(String[])
- Static method in class dsg.smart.test.
Test
N
NotSourceModuleException
- exception dsg.smart.
NotSourceModuleException
.
A source module was expected, but a non-source module was used in its place.
NotSourceModuleException(String)
- Constructor for class dsg.smart.
NotSourceModuleException
O
openSmartCentral()
- Method in interface dsg.smart.
Session
Open a connection to Smart Central
openSmartCentral()
- Method in class dsg.smart.simul.
WorkstationSession
Open a connection to Smart Central
openSmartDB()
- Method in interface dsg.smart.
Session
Open a connection to the Smart DB
openSmartDB()
- Method in class dsg.smart.simul.
WorkstationSession
Open a connection to the Smart DB
P
PatientID
- class dsg.smart.
PatientID
.
Class to identify patients in Smart system.
PatientID(String)
- Constructor for class dsg.smart.
PatientID
PatientID.FormatException
- exception dsg.smart.
PatientID.FormatException
.
Indicates a problem with the format of an PatientID when trying to convert from a String.
PatientID.FormatException()
- Constructor for class dsg.smart.
PatientID.FormatException
PeerCreator
- interface dsg.smart.
PeerCreator
.
This is run on SMART Central to create a module chain as a peer to a module on client side.
Permissions
- interface dsg.smart.
Permissions
.
Interface representing permissions --- which Smart resources is a given user allowed to access?
R
ResearcherID
- class dsg.smart.
ResearcherID
.
Class to identify people with Smart logins who are not patients or employees.
ResearcherID(String, String)
- Constructor for class dsg.smart.
ResearcherID
ResearcherID.FormatException
- exception dsg.smart.
ResearcherID.FormatException
.
Problem in the format of a ResearcherID, when converting from a String.
ResearcherID.FormatException()
- Constructor for class dsg.smart.
ResearcherID.FormatException
removeModule(StreamModule[])
- Method in interface dsg.smart.
ModuleEnv
Removes (disconnects) a set of source modules and all downstream dependants.
removeModule(StreamModule[])
- Method in class dsg.smart.simul.
WorkstationSession
Removes a set of source modules and all downstream dependants.
run(SMContext)
- Method in interface dsg.smart.
StreamModule
Entry point --- should never exit.
run()
- Method in class dsg.smart.simul.
SMThread
run(SMContext)
- Method in class dsg.smart.test.
DoubleSink
Entry point --- should never exit.
run(SMContext)
- Method in class dsg.smart.test.
SinSource
Entry point --- should never exit.
S
SMBase
- class dsg.smart.
SMBase
.
Base class useful in writing Stream Modules.
SMBase(int, int)
- Constructor for class dsg.smart.
SMBase
SMContext
- interface dsg.smart.
SMContext
.
Operations provided by system to a stream module.
SMThread
- class dsg.smart.simul.
SMThread
.
Thread implementation of Stream Modules.
SMThread(StreamModule, SMContext)
- Constructor for class dsg.smart.simul.
SMThread
ST_IPAQ
- Static variable in interface dsg.smart.
Session
An iPaq
ST_SMARTCENTRAL
- Static variable in interface dsg.smart.
Session
The Smart Central computer
ST_WEBSERVER
- Static variable in interface dsg.smart.
Session
Smart client running a web application --- one Session object per web session being handled.
ST_WORKSTATION
- Static variable in interface dsg.smart.
Session
A Smart Workstation --- has serial connection with iPaq
Session
- interface dsg.smart.
Session
.
Info about the environment (IPaq or workstation) we're running on.
SinSource
- class dsg.smart.test.
SinSource
.
A stream module with one output.
SinSource()
- Constructor for class dsg.smart.test.
SinSource
SmartAccessException
- exception dsg.smart.
SmartAccessException
.
Access to a Smart resource denied to a user for lack of privileges.
SmartAccessException(String)
- Constructor for class dsg.smart.
SmartAccessException
SmartCentral
- interface dsg.smart.
SmartCentral
.
Client-side proxy object representing connection to the Smart Central system.
SmartCentral.GetPeerRet
- class dsg.smart.
SmartCentral.GetPeerRet
.
The return type of the getPeer() method.
SmartCentral.GetPeerRet()
- Constructor for class dsg.smart.
SmartCentral.GetPeerRet
SmartDB
- interface dsg.smart.
SmartDB
.
Represents connection to SMART Central database, once the application has logged in.
SmartException
- exception dsg.smart.
SmartException
.
Superclass for all Smart Exceptions.
SmartException(String)
- Constructor for class dsg.smart.
SmartException
SmartLogin
- class dsg.smart.
SmartLogin
.
Class to allow the Smart Operator to log into the system.
SmartLogin()
- Constructor for class dsg.smart.
SmartLogin
SmartLoginSimul
- class dsg.smart.simul.
SmartLoginSimul
.
Log into the simulated system system.
SmartLoginSimul()
- Constructor for class dsg.smart.simul.
SmartLoginSimul
StationID
- interface dsg.smart.
StationID
.
An identifier used to identify a computer on the Smart network.
StreamModule
- interface dsg.smart.
StreamModule
.
Smart works by setting up simultaneous streams of data between the different components.
setInput(int, InputStream)
- Method in class dsg.smart.
SMBase
Assigns input stream --- called by MIT code when connecting stream modules.
setInput(int, InputStream)
- Method in interface dsg.smart.
StreamModule
Assigns input stream --- called by MIT code when connecting stream modules.
setOutput(int, OutputStream)
- Method in class dsg.smart.
SMBase
Assigns output stream --- called by MIT code when connecting stream modules.
setOutput(int, OutputStream)
- Method in interface dsg.smart.
StreamModule
Assigns output stream --- called by MIT code when connecting stream modules.
setPermissions(UserID, Permissions)
- Method in interface dsg.smart.
SmartDB
Changes user permissions
setPoint(int, int)
- Method in interface dsg.smart.
IntTimeseries
Set the nth point, for a timeseries where delta > 0; this is used for appending, esp. if data points are skipped by accident.
setPoint(Date, int)
- Method in interface dsg.smart.
IntTimeseries
Sets a value, for a timeseries in which delta=0
setPoints(int, int, int[])
- Method in interface dsg.smart.
IntTimeseries
Sets a bunch of values, for delta <> 0
startModule(WorkstationSession.SMInfo)
- Method in class dsg.smart.simul.
WorkstationSession
startModules(StreamModule[])
- Method in interface dsg.smart.
ModuleEnv
Starts a set of source (zero-input) modules running --- as well as all downstream modules as well.
startModules(StreamModule[])
- Method in class dsg.smart.simul.
WorkstationSession
stop()
- Method in class dsg.smart.
SMBase
stop()
- Method in interface dsg.smart.
StreamModule
Generally called from a separate thread from run().
stopModules(StreamModule[])
- Method in interface dsg.smart.
ModuleEnv
Stops a set of source (zero-input) modules from running --- as well as all dependent downstream modules.
stopModules(StreamModule[])
- Method in class dsg.smart.simul.
WorkstationSession
Stops a set of source (zero-input) modules from running --- as well as all dependnt downstream modules.
T
Test
- class dsg.smart.test.
Test
.
Sets up a SinSource connected to a DoubleSink.
Test()
- Constructor for class dsg.smart.test.
Test
Timeseries
- interface dsg.smart.
Timeseries
.
A client-side handle to a timeseries inside the Smart Database.
TimeseriesSpec
- interface dsg.smart.
TimeseriesSpec
.
Description of a timeseries.
toString()
- Method in class dsg.smart.
EmployeeID
toString()
- Method in class dsg.smart.
PatientID
toString()
- Method in class dsg.smart.
ResearcherID
toString()
- Method in interface dsg.smart.
UserID
U
UserID
- interface dsg.smart.
UserID
.
Parent interface for classes defining a user.
W
WorkstationSession
- class dsg.smart.simul.
WorkstationSession
.
Implementation of the Session interface for the simulated environment.
WorkstationSession(UserID)
- Constructor for class dsg.smart.simul.
WorkstationSession
A
B
C
D
E
F
G
I
L
M
N
O
P
R
S
T
U
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes