org.mbari.siam.devices.phDigital
Class PhDigitalPacketParser

java.lang.Object
  extended by org.mbari.siam.distributed.PacketParser
      extended by org.mbari.siam.devices.phDigital.PhDigitalPacketParser
All Implemented Interfaces:
java.io.Serializable

public class PhDigitalPacketParser
extends PacketParser

Parses SIAM data packets

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mbari.siam.distributed.PacketParser
PacketParser.Field, PacketParser.Record
 
Field Summary
static java.lang.String CORRECTION_KEY
           
static java.lang.String PH_KEY
           
static java.lang.String REGISTRY_NAME_KEY
           
static java.lang.String TEMPERATURE_KEY
           
static java.lang.String VOLTAGE_KEY
           
 
Fields inherited from class org.mbari.siam.distributed.PacketParser
_registryName
 
Constructor Summary
PhDigitalPacketParser()
          No-arg constructor needed to instantiate via class loader (e.g.
PhDigitalPacketParser(java.lang.String registryName)
           
 
Method Summary
 PacketParser.Field[] parseFields(DevicePacket packet)
          Return fields parsed from DevicePacket.
 
Methods inherited from class org.mbari.siam.distributed.PacketParser
getField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REGISTRY_NAME_KEY

public static java.lang.String REGISTRY_NAME_KEY

VOLTAGE_KEY

public static java.lang.String VOLTAGE_KEY

PH_KEY

public static java.lang.String PH_KEY

TEMPERATURE_KEY

public static java.lang.String TEMPERATURE_KEY

CORRECTION_KEY

public static java.lang.String CORRECTION_KEY
Constructor Detail

PhDigitalPacketParser

public PhDigitalPacketParser()
No-arg constructor needed to instantiate via class loader (e.g. by logView)


PhDigitalPacketParser

public PhDigitalPacketParser(java.lang.String registryName)
Method Detail

parseFields

public PacketParser.Field[] parseFields(DevicePacket packet)
                                 throws NotSupportedException,
                                        java.text.ParseException
Return fields parsed from DevicePacket.

Specified by:
parseFields in class PacketParser
Throws:
NotSupportedException
java.text.ParseException


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.