org.mbari.siam.distributed
Interface SensorDataHandler


public interface SensorDataHandler

Implementations of SensorDataHandler know how to parse, compress, print, summarize sensor-specific data.

Author:
Tom O'Reilly

Method Summary
 Calibration getCalibration()
           
 java.lang.String printPacket(DevicePacket packet)
           
 java.lang.String printShortSummary(long startDate, long endDate, int maxOutputChars, DevicePacket[] packets)
           
 java.lang.String printSummary(long startDate, long endDate, DevicePacket[] packets)
           
 void processPacket(DevicePacket packet)
           
 void setCalibration(Calibration calibration)
           
 

Method Detail

setCalibration

void setCalibration(Calibration calibration)

getCalibration

Calibration getCalibration()

processPacket

void processPacket(DevicePacket packet)

printPacket

java.lang.String printPacket(DevicePacket packet)

printSummary

java.lang.String printSummary(long startDate,
                              long endDate,
                              DevicePacket[] packets)

printShortSummary

java.lang.String printShortSummary(long startDate,
                                   long endDate,
                                   int maxOutputChars,
                                   DevicePacket[] packets)


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.