org.mbari.siam.foce.devices.controlLoop
Class ControlServicePacketParser

java.lang.Object
  extended by org.mbari.siam.distributed.PacketParser
      extended by org.mbari.siam.foce.devices.controlLoop.ControlServicePacketParser
All Implemented Interfaces:
java.io.Serializable

public class ControlServicePacketParser
extends PacketParser

Packet parser for Control Loop Service record types. Delegates parsing to appropropriate parser for each packet type: - pH PID - H2O velocity PID - input state - output state

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mbari.siam.distributed.PacketParser
PacketParser.Field, PacketParser.Record
 
Field Summary
protected static InputStateParser _inputParser
           
protected static OutputStateParser _outputParser
           
protected static PH_ResponseParser _phParser
           
protected static VEL_ResponseParser _velocityParser
           
 
Fields inherited from class org.mbari.siam.distributed.PacketParser
_registryName
 
Constructor Summary
ControlServicePacketParser()
          No-arg constructor needed to instantiate via class loader (e.g.
ControlServicePacketParser(java.lang.String registryName)
           
 
Method Summary
 void initialize()
           
 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

_velocityParser

protected static VEL_ResponseParser _velocityParser

_phParser

protected static PH_ResponseParser _phParser

_inputParser

protected static InputStateParser _inputParser

_outputParser

protected static OutputStateParser _outputParser
Constructor Detail

ControlServicePacketParser

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


ControlServicePacketParser

public ControlServicePacketParser(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

initialize

public void initialize()


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.