|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
The AbleAgent interface provides methods to manipulate contained beans, determine the agent's input structure, and maintain a registry of user-definable methods on those beans. Implementors must provide:
| Method Summary | |
|---|---|
void |
addEventConnection(AbleEventConnection theConnection)
Adds an event connection. |
AbleDataSource |
getDataSource()
Returns the current active DataSource from the contained beans, null if none. |
java.util.Vector |
getEventConnections()
Returns event connections used by this agent. |
long |
getNumEpochs()
Returns the number of training epochs, which is the number of times an active data source has had all its records processed. |
java.util.Vector |
getProcessList()
Returns the sequential processing list for data buffer processing. |
boolean |
isActiveDataSource()
Indicates if this agent has an active data source. |
void |
removeAllEventConnections()
Remove all event connections. |
void |
removeEventConnection(AbleEventConnection theConnection)
Removes an event connection. |
void |
setActiveDataSource(boolean theState)
Sets the flag indicating if this agent contains an active data source. |
void |
setProcessList(java.util.Vector theProcessList)
Set the sequential list of beans to process. |
| Methods inherited from interface com.ibm.able.AbleBean |
|---|
getComment, getLogger, getName, getParent, getProperties, getProperty, getState, getTraceLogger, init, init, isChanged, process, process, quitAll, removeAllConnections, removeProperty, reset, resumeAll, setChanged, setComment, setLogger, setName, setParent, setProperties, setProperty, setState, setTraceLogger, suspendAll |
| Methods inherited from interface com.ibm.able.AbleEventListener |
|---|
handleAbleEvent |
| Methods inherited from interface com.ibm.able.AbleEventListenerManager |
|---|
addAbleEventListener, dataChanged, getAbleEventListeners, notifyAbleEventListeners, removeAbleEventListener |
| Methods inherited from interface com.ibm.able.AbleEventQueueProcessor |
|---|
processAbleEvent, processNoEventProcessingEnabledSituation, processTimerEvent |
| Methods inherited from interface com.ibm.able.AblePropertyChangeManager |
|---|
addPropertyChangeListener, addPropertyConnection, getPropertyChangeListeners, getPropertyConnectionManager, removeAllPropertyConnections, removePropertyChangeListener, removePropertyConnection |
| Methods inherited from interface com.ibm.able.AbleSerializable |
|---|
getFileName, restoreFromFile, restoreFromFile, saveToFile, saveToFile, setFileName |
| Methods inherited from interface com.ibm.able.AbleBeanContainer |
|---|
addBean, containsBean, containsBean, getBean, getBeans, getName, initAllBeans, removeAllBeans, removeBean, removeBean, resetAllBeans |
| Methods inherited from interface com.ibm.able.AbleUserDefinedFunctionManager |
|---|
addUserDefinedFunction, containsUserDefinedFunction, getUserDefinedFunction, getUserDefinedFunctions, invokeUserDefinedFunction, removeUserDefinedFunction, setUserDefinedFunctions |
| Method Detail |
public void setActiveDataSource(boolean theState)
throws AbleException
theState - The state is true if the agent contains
an active data source, and false otherwise.
AbleException - If an error occurs.
public boolean isActiveDataSource()
throws AbleException
true if agent contains an active data source;
false otherwise.
AbleException - If an error occurs.
public AbleDataSource getDataSource()
throws AbleException
AbleException - If an error occurs.
public void addEventConnection(AbleEventConnection theConnection)
throws AbleException
theConnection - The connection to add.
AbleException - If an error occurs.public java.util.Vector getEventConnections()
AbleEventConnection
public void removeEventConnection(AbleEventConnection theConnection)
throws AbleException
theConnection - The connection to remove.
AbleException - If an error occurs.
The implementor may choose to throw
an exception if the connection does not exist.
public void removeAllEventConnections()
throws AbleException
AbleException - If an error occurs.
public void setProcessList(java.util.Vector theProcessList)
throws AbleException
A property change event is fired to registered listeners.
theProcessList - The list of beans in the sequence to be processed.
AbleException - If an error occurs.
public java.util.Vector getProcessList()
throws AbleException
AbleException - If an error occurs.
public long getNumEpochs()
throws AbleException
AbleException - If an error occurs.
|
ABLE 2.3.0 07/13/2005 14:21:00 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||