org.mbari.siam.distributed
Class SensorStatusPacket

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

Deprecated. Replaced by MetadataPacket

public class SensorStatusPacket
extends DevicePacket

SensorStatusPacket contains information relating to "state" of the generating sensor.

Author:
Tom O'Reilly
See Also:
Serialized Form

Field Summary
static int AUTO_GENERATED
          Deprecated. Indicates that packet was generated autonomously (i.e.
 
Fields inherited from class org.mbari.siam.distributed.DevicePacket
ALL_TYPES, DEVICEMESSAGE_FLAG, HEADER_BYTES, METADATA_FLAG, SENSORDATA_FLAG, SUMMARY_FLAG
 
Constructor Summary
SensorStatusPacket(long sourceID, byte[] cause, byte[] statusBytes)
          Deprecated.  
 
Method Summary
 byte[] cause()
          Deprecated. Indication of what generated the SensorStatusPacket
 byte[] getStatusBytes()
          Deprecated. Get status bytes.
 
Methods inherited from class org.mbari.siam.distributed.DevicePacket
convertToAscii, getParentId, getRecordType, isPrintable, metadataRef, sequenceNo, setMetadataRef, setParentId, setRecordType, setSequenceNo, setSystemTime, sourceID, systemTime, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AUTO_GENERATED

public static final int AUTO_GENERATED
Deprecated. 
Indicates that packet was generated autonomously (i.e. not from any external command.

See Also:
Constant Field Values
Constructor Detail

SensorStatusPacket

public SensorStatusPacket(long sourceID,
                          byte[] cause,
                          byte[] statusBytes)
Deprecated. 
Parameters:
sourceID - unique identifier of source sensor
cause - reason for generating packet
statusBytes - status data buffer
Method Detail

cause

public byte[] cause()
Deprecated. 
Indication of what generated the SensorStatusPacket


getStatusBytes

public byte[] getStatusBytes()
Deprecated. 
Get status bytes.



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.