PumpAdaptor

Injects Insulin into the patient with the specified dose. This managed object acts as an interface to the real pump.

Part of the Ponder2 tutorial

Factory Messages
OperationDescription
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
OperationReturnDescription
inject: aDose self injects aDose (integer) ml of Insulin into the patient