Interface InstrumentDataListener

All Known Implementing Classes:
CO2SubsystemMonitor, ControlLoopService, ElmoLouver, ElmoService, ElmoThruster, ESWPump, MotorControl, PhDigital, RegistryInputConnector, SBE18, Turbinator

public interface InstrumentDataListener

InstrumentDataListener is an interface that must be implemented by objects that wish to intercept new data records from the InstrumentRegistry

Method Summary
 void dataCallback(DevicePacket sensorData, PacketParser.Field[] fields)
          Callback for new data record
 void serviceRegisteredCallback(RegistryEntry entry)
          Action performed when service installed

Method Detail


void dataCallback(DevicePacket sensorData,
                  PacketParser.Field[] fields)
Callback for new data record

sensorData - - SensorDataPacket that instrument logged
fields - - Result of passing sensorData to PacketParser.parseFields() if registered DeviceService is an instanceof BaseInstrumentService. Else null.


void serviceRegisteredCallback(RegistryEntry entry)
Action performed when service installed

Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.