org.mbari.siam.distributed.jddac
Class ParserFunction

java.lang.Object
  extended by org.mbari.siam.distributed.jddac.ParserFunction
All Implemented Interfaces:
IFunction

public class ParserFunction
extends java.lang.Object
implements IFunction

Created by IntelliJ IDEA. User: brian Date: Mar 30, 2006 Time: 1:56:24 PM To change this template use File | Settings | File Templates.


Field Summary
 
Fields inherited from interface org.mbari.jddac.IFunction
KEY, OPID_IN, OPID_OUT
 
Constructor Summary
ParserFunction()
           
 
Method Summary
 net.java.jddac.common.type.ArgArray execute(net.java.jddac.common.type.ArgArray argArray)
          Executing this funciton will parse a SensorDataPacket contained in an argArray
 DevicePacketParser getDevicePacketParser()
           
 void setDevicePacketParser(DevicePacketParser devicePacketParser)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserFunction

public ParserFunction()
Method Detail

execute

public net.java.jddac.common.type.ArgArray execute(net.java.jddac.common.type.ArgArray argArray)
Executing this funciton will parse a SensorDataPacket contained in an argArray

Specified by:
execute in interface IFunction
Parameters:
argArray - The argArray should contain a SensorDataPacket where the key is InstrumentServiceBlock.KEY_SENSORDATAPACKET
Returns:
A SiamRecord containing the parsed Measurements. If the parse failed it will be empty.

getDevicePacketParser

public DevicePacketParser getDevicePacketParser()

setDevicePacketParser

public void setDevicePacketParser(DevicePacketParser devicePacketParser)


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.