|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimulationlogic.HeartMonitor
public class HeartMonitor
| Constructor Summary | |
|---|---|
HeartMonitor(java.lang.String patientUsername,
java.lang.String heartMonitorURL)
creates a new heart monitor that monitors a patients heart with the patient id ID. |
|
| Method Summary | |
|---|---|
void |
setHeartMonitorRate(double rate)
This sets the heartMonior read rate. |
void |
startHeartMonitor()
Starts the heart monitor by starting a timer that reads the heart data at heart rate. |
void |
stopHeartMonitor()
Stops the heart monitor by canceling all scheduled tasks |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeartMonitor(java.lang.String patientUsername,
java.lang.String heartMonitorURL)
ID - | Method Detail |
|---|
public void setHeartMonitorRate(double rate)
rate - public void startHeartMonitor()
public void stopHeartMonitor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||