|
||||||||
| 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
public class RelayBlock
Relays results programmatically. By itself a RelayBlock does nothing. However you can associate functions with it that can carry ou specific operations.
JvmMemoryApp,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
OpIdAddFunction
The OpId used to add a function. |
| 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 | |
|---|---|
RelayBlock()
Creates a new instance of RelayBlock |
|
| Method Summary | |
|---|---|
boolean |
addChild(net.java.jddac.jmdi.fblock.FunctionBlock child)
|
boolean |
addFunction(net.java.jddac.common.type.ArgArray argArray)
A ddan IFunction to a relay block. |
net.java.jddac.jmdi.fblock.FunctionBlock[] |
getChildren()
|
net.java.jddac.common.type.ArgArray |
perform(java.lang.String server_operation_id,
net.java.jddac.common.type.ArgArray server_input_arguments)
Performs the operation using server_input_arguments as the argument to the function used for processing |
boolean |
removeChild(net.java.jddac.jmdi.fblock.FunctionBlock child)
|
| 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 OpIdAddFunction
| Constructor Detail |
|---|
public RelayBlock()
| Method Detail |
|---|
public boolean addChild(net.java.jddac.jmdi.fblock.FunctionBlock child)
public boolean removeChild(net.java.jddac.jmdi.fblock.FunctionBlock child)
public net.java.jddac.jmdi.fblock.FunctionBlock[] getChildren()
public net.java.jddac.common.type.ArgArray perform(java.lang.String server_operation_id,
net.java.jddac.common.type.ArgArray server_input_arguments)
throws java.lang.Exception,
net.java.jddac.common.exception.OpException
Performs the operation using server_input_arguments as the argument to the function used for processing
You can set the function used by calling:
relatyBlock.addFunction(FunctionFactory.createFunctionArg(OpIdIn, OpIdOut, new SomeIFunction());
perform in class net.java.jddac.jmdi.fblock.FunctionBlockjava.lang.Exception
net.java.jddac.common.exception.OpExceptionpublic boolean addFunction(net.java.jddac.common.type.ArgArray argArray)
argArray - An ArgArray containing the needed keys-value pairsIFunction
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||