org.mbari.siam.distributed
Class MeasurementPacket

java.lang.Object
  extended by org.mbari.siam.distributed.DevicePacket
      extended by org.mbari.siam.distributed.DeviceMessagePacket
          extended by org.mbari.siam.distributed.MeasurementPacket
All Implemented Interfaces:
java.io.Serializable

public class MeasurementPacket
extends DeviceMessagePacket
implements java.io.Serializable

MeasurementPacket contains a SiamRecord, which is composed of a series of SiamMeasurement objects. Note that SiamMeasurement and SiamRecord are extensions of JDDAC Measurement and JDDAC Record, respectively. NOTE: This is currently implemented as an extension of DeviceMessagePacket, and contains a String representation of the SiamRecord, since there seems to be a problem in serializing the JDDAC stuff(?)

Author:
Tom O'Reilly
See Also:
Serialized Form

Field Summary
protected static org.apache.log4j.Logger _log4j
          Log4j logger
 
Fields inherited from class org.mbari.siam.distributed.DevicePacket
ALL_TYPES, DEVICEMESSAGE_FLAG, HEADER_BYTES, METADATA_FLAG, SENSORDATA_FLAG, SUMMARY_FLAG
 
Constructor Summary
MeasurementPacket(long sourceID, net.java.jddac.common.type.ArgArray argArray)
           
 
Method Summary
 
Methods inherited from class org.mbari.siam.distributed.DeviceMessagePacket
getMessage, setMessage, toString
 
Methods inherited from class org.mbari.siam.distributed.DevicePacket
convertToAscii, getParentId, getRecordType, isPrintable, metadataRef, sequenceNo, setMetadataRef, setParentId, setRecordType, setSequenceNo, setSystemTime, sourceID, systemTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_log4j

protected static org.apache.log4j.Logger _log4j
Log4j logger

Constructor Detail

MeasurementPacket

public MeasurementPacket(long sourceID,
                         net.java.jddac.common.type.ArgArray argArray)


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.