An adaptor to talk to BSN nodes
Part of the Ponder2 Tutorial
Factory Messages | ||
---|---|---|
Operation | Description | create: aName patient: aPatient | Creates an instance of the adaptor with name aName belonging to aPatient. The RMI name used will be "aPatient_aName" |
Operational Messages | ||
---|---|---|
Operation | Return | Description | setSampleRate: anInteger | self | Sets the sampling rate of the BSN node to anInteger. anInteger is expressed in milliseconds. | getSampleRate | int | Interrogates the node over the RMI link and answers with the rate in millseconds | getValue | int | Interrogates the node over the RMI link and answers with the BSN reading corresponding to its type |