|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.java.jddac.common.fblock.Entity
net.java.jddac.jmdi.fblock.FunctionBlock
org.mbari.jddac.RelayBlock
org.mbari.siam.distributed.jddac.InstrumentServiceBlock
org.mbari.siam.distributed.jddac.ParserBlock
public class ParserBlock
This InstrumentServiceBlock includes a ParserFunction by default. This
function will parse a SensorDataPacket to a SiamRecord and pass the SiamRecord
on down the function chain. RelayBlocks that want to process the SiamRecord
should listen for OpIdRelaySiamRecord
| Field Summary | |
|---|---|
static java.lang.String |
OpIdRelaySiamRecord
|
| Fields inherited from class org.mbari.siam.distributed.jddac.InstrumentServiceBlock |
|---|
KEY_SENSORDATAPACKET, OpIdProcessDevicePacket |
| 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 | |
|---|---|
ParserBlock()
|
|
ParserBlock(BaseInstrumentService instrumentService)
|
|
| Method Summary | |
|---|---|
void |
processDevicePacket(DevicePacket packet)
|
void |
setInstrumentService(BaseInstrumentService instrumentService)
Setting the instrumentSerivce also sets the devicePacketParser used to parse the SensorDataPackets. |
| Methods inherited from class org.mbari.siam.distributed.jddac.InstrumentServiceBlock |
|---|
getInstrumentService |
| 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 |
|---|
public static final java.lang.String OpIdRelaySiamRecord
| Constructor Detail |
|---|
public ParserBlock()
public ParserBlock(BaseInstrumentService instrumentService)
| Method Detail |
|---|
public void setInstrumentService(BaseInstrumentService instrumentService)
setInstrumentService in class InstrumentServiceBlock
public void processDevicePacket(DevicePacket packet)
throws java.lang.Exception
processDevicePacket in class InstrumentServiceBlockjava.lang.Exception
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||