org.mbari.siam.distributed.jddac
Class InstrumentServiceBlock

java.lang.Object
  extended by net.java.jddac.common.fblock.Entity
      extended by net.java.jddac.jmdi.fblock.FunctionBlock
          extended by org.mbari.jddac.RelayBlock
              extended by org.mbari.siam.distributed.jddac.InstrumentServiceBlock
All Implemented Interfaces:
java.io.Serializable, net.java.jddac.common.util.ConfigurationInterface, net.java.jddac.jmdi.service.SubscriberCallback
Direct Known Subclasses:
DummyBlock, Ocr3000.OCRServiceBlock, ParserBlock, SummaryBlock

public abstract class InstrumentServiceBlock
extends RelayBlock
implements java.io.Serializable

The InstrumentServiceBlock provides functions that operate on a

See Also:
Serialized Form

Field Summary
static java.lang.String KEY_SENSORDATAPACKET
          This is the key used to locate the SensorDataPacket inside an argArray
static java.lang.String OpIdProcessDevicePacket
          This OpId is used by the BaseInstrumentService to start a process on a sensor data packet
 
Fields inherited from class org.mbari.jddac.RelayBlock
OpIdAddFunction
 
Fields inherited from class net.java.jddac.jmdi.fblock.FunctionBlock
BL_ACTIVE, BL_INACTIVE, BL_UNINITIALIZED, blockMajorState, blockModelNumber, blockVersion, FB_IDLE, FB_RUNNING, FB_STOPPED, functionBlockState, groupIds, META_TEDS, OpIdClear, OpIdConfigure, OpIdGetAllMetaData, OpIdGetBlockMajorState, OpIdGetFunctionBlockState, OpIdGetGroupIDs, OpIdGetMetaData, OpIdPause, OpIdResume, OpIdStart, pubPortsProperty, subPortsProperty
 
Fields inherited from class net.java.jddac.common.fblock.Entity
description, instanceName, META_CLASS, META_NAME, META_OPERATIONS, objectProperties, OpIdGetAttribute, OpIdGetClassName, OpIdGetDescription, OpIdGetInstanceName, OpIdGetObjectProperties, OpIdGetOwningBlockObjectTag, OpIdSetAttribute, OpIdSetInstanceName, owningBlockObjectName, PerformInputArg, PerformResult
 
Constructor Summary
InstrumentServiceBlock()
           
 
Method Summary
 BaseInstrumentService getInstrumentService()
           
abstract  void processDevicePacket(DevicePacket packet)
           
 void setInstrumentService(BaseInstrumentService instrumentService)
           
 
Methods inherited from class org.mbari.jddac.RelayBlock
addChild, addFunction, getChildren, perform, removeChild
 
Methods inherited from class net.java.jddac.jmdi.fblock.FunctionBlock
clear, configure, destroy, destroyDeferredThread, getBlockMajorState, getBlockModelNumber, getBlockVersion, getEntityMetaData, getFunctionBlockState, getGroupIDs, getPubIDFromName, getSubIDFromName, goActive, initialize, notifySubscriber, pause, publish, publishDeferred, reset, resume, setGroupIDs, start
 
Methods inherited from class net.java.jddac.common.fblock.Entity
addOpTableMeta, getDescription, getInstanceName, getObjectProperties, getObjectPropery, getOwningBlockObjectName, setDescription, setInstanceName, setObjectProperties, setObjectProperty, setOwningBlockObjectName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OpIdProcessDevicePacket

public static final java.lang.String OpIdProcessDevicePacket
This OpId is used by the BaseInstrumentService to start a process on a sensor data packet

See Also:
Constant Field Values

KEY_SENSORDATAPACKET

public static final java.lang.String KEY_SENSORDATAPACKET
This is the key used to locate the SensorDataPacket inside an argArray

See Also:
Constant Field Values
Constructor Detail

InstrumentServiceBlock

public InstrumentServiceBlock()
Method Detail

getInstrumentService

public BaseInstrumentService getInstrumentService()

setInstrumentService

public void setInstrumentService(BaseInstrumentService instrumentService)

processDevicePacket

public abstract void processDevicePacket(DevicePacket packet)
                                  throws java.lang.Exception
Throws:
java.lang.Exception


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.