|
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 | |||||||||||
java.lang.Objectcom.ibm.able.AbleObject
com.ibm.able.AbleDefaultAgent
com.ibm.able.AbleRemoteDefaultAgent
com.ibm.able.platform.AblePlatformDefaultAgent
com.ibm.able.beans.knn.JasNaiveBayesCentralAgent
This class defines a test for the AbleJasDefaultAgent object.
| Field Summary |
|---|
| Fields inherited from class com.ibm.able.AbleRemoteDefaultAgent |
|---|
agentAddr, agentHost, agentName, defaultName, myRemoteStub |
| Fields inherited from class com.ibm.able.AbleDefaultAgent |
|---|
activeDataSource, eventConnections, myBeans, numEpochs, processList, processListOK, userDefinedFunctions |
| Fields inherited from class com.ibm.able.AbleObject |
|---|
changed, chgSupport, comment, dataFlowEnabled, destBufferConnections, eventQueue, fileName, inputBuffer, listeners, logger, name, outputBuffer, parent, properties, propertyConnectionMgr, sourceBufferConnections, state, stateChgSupport, trace |
| Constructor Summary | |
|---|---|
JasNaiveBayesCentralAgent()
Create an AbleJasDefaultAgent tester object. |
|
| Method Summary | |
|---|---|
protected void |
debugTrace(java.lang.String theMessage)
Log a trace message. |
JasNaiveBayesDistributedAgent |
getAgent1()
Get the distributed agent 1 bean |
JasNaiveBayesDistributedAgent |
getAgent2()
Get the distributed agent 2 bean |
javax.agent.Locator |
getLclAbleDistrLocator1()
|
javax.agent.Locator |
getLclAbleDistrLocator2()
|
javax.agent.Locator |
getLclAbleMasterLocator1()
|
javax.agent.Locator |
getLclAbleMasterLocator2()
|
javax.agent.Locator |
getLclAbleMasterLocator3()
|
javax.agent.Locator |
getLclAbleMasterLocator4()
|
javax.agent.AgentName |
getLclAgentName1()
|
javax.agent.AgentName |
getLclAgentName2()
|
JasNaiveBayesDistributedAgent |
getLclJasNaiveBayesAgent1a()
Get the first agent |
JasNaiveBayesDistributedAgent |
getLclJasNaiveBayesAgent2a()
Get the second agent |
java.util.Hashtable[] |
getNaiveBayesFields1()
Get the model 2 bean |
java.util.Hashtable[] |
getNaiveBayesFields2()
Get the model 2 bean |
AbleFilter |
getNaiveBayesFil1()
Get the filter 1 bean |
AbleFilter |
getNaiveBayesFil2()
Get the filter 2 bean |
AbleImport |
getNaiveBayesImp2()
Get the import 2 bean |
long |
getNumRec()
Get numRecords in the test file |
java.lang.String |
getTestDataFileName()
Get the name of the test/run data file |
void |
init()
Initializes and configures the bean, but only if security is off; when security is on, calls to this method are ignored -- the method AblePlatformDefaultAgent.initializeAgent(AbleSecureKey)
must be used instead. |
static void |
main(java.lang.String[] args)
Test the AbleJasDefaultAgent object. |
java.lang.Object |
processCentralAgent(java.lang.Object theArgs)
|
java.lang.Object |
processDistrAgent1(java.lang.Object theArgs)
|
java.lang.Object |
processDistrAgent2(java.lang.Object theArgs)
|
void |
rcvMsgForBarBaz(javax.agent.TransportMessage theTransportMessage)
|
void |
rcvMsgForFooBar(javax.agent.TransportMessage theTransportMessage)
|
void |
receiveMessage(javax.agent.TransportMessage theTransportMessage)
Handle receiving a message from the message transport service. |
void |
sendTo(javax.agent.Locator theDestinationLocator,
javax.agent.AgentName theDestinationAgentName,
java.lang.Object theMessage)
|
void |
setMode(int mode)
|
void |
setNumRec(long numRec)
Set numRecords |
void |
setTestDataFileName(java.lang.String aFileName)
Set the name of the test/run data file |
void |
someOtherRcvMsgMethod1(javax.agent.TransportMessage theTransportMessage)
|
void |
someOtherRcvMsgMethod2(javax.agent.TransportMessage theTransportMessage)
|
void |
someOtherRcvMsgMethod3(javax.agent.TransportMessage theTransportMessage)
|
void |
someOtherRcvMsgMethod4(javax.agent.TransportMessage theTransportMessage)
|
| Methods inherited from class com.ibm.able.AbleRemoteDefaultAgent |
|---|
getAgentAddr, getAgentHost, getAgentName, rmiRebind, rmiUnbind |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ibm.able.platform.AblePlatformAgent |
|---|
getComment |
| Methods inherited from interface com.ibm.able.AbleRemoteAgent |
|---|
addEventConnection, getAgentAddr, getAgentHost, getAgentName, getDataSource, isActiveDataSource, removeEventConnection, setActiveDataSource |
| Methods inherited from interface com.ibm.able.AbleRemoteBean |
|---|
getName, getProperties, getProperty, getState, process, removeProperty, setProperties, setProperty |
| Methods inherited from interface com.ibm.able.AbleRemoteEventListener |
|---|
handleAbleEvent |
| Methods inherited from interface com.ibm.able.AbleEventListenerRemoteManager |
|---|
addAbleEventListener, notifyAbleEventListeners, removeAbleEventListener |
| Methods inherited from interface com.ibm.able.AbleBeanRemoteContainer |
|---|
addBean, containsBean, containsBean, getBean, getBeans, removeAllBeans, removeBean, removeBean |
| Methods inherited from interface com.ibm.able.AbleUserDefinedFunctionRemoteManager |
|---|
addUserDefinedFunction, containsUserDefinedFunction, getUserDefinedFunction, getUserDefinedFunctions, invokeUserDefinedFunction, removeUserDefinedFunction, setUserDefinedFunctions |
| Methods inherited from interface javax.agent.service.transport.MessageListener |
|---|
equals, hashCode |
| Methods inherited from interface com.ibm.able.AbleBean |
|---|
getComment, getLogger, getName, getParent, getProperties, getProperty, getState, getTraceLogger, isChanged, removeProperty, setChanged, setComment, setLogger, setName, setParent, setProperties, setProperty, setState, setTraceLogger |
| 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 |
|---|
getName |
| Constructor Detail |
public JasNaiveBayesCentralAgent()
throws java.rmi.RemoteException,
AbleException
| Method Detail |
public JasNaiveBayesDistributedAgent getAgent1()
public JasNaiveBayesDistributedAgent getAgent2()
public AbleImport getNaiveBayesImp2()
public AbleFilter getNaiveBayesFil1()
public AbleFilter getNaiveBayesFil2()
public java.util.Hashtable[] getNaiveBayesFields1()
public java.util.Hashtable[] getNaiveBayesFields2()
public JasNaiveBayesDistributedAgent getLclJasNaiveBayesAgent1a()
public JasNaiveBayesDistributedAgent getLclJasNaiveBayesAgent2a()
public javax.agent.Locator getLclAbleMasterLocator1()
public javax.agent.Locator getLclAbleMasterLocator2()
public javax.agent.Locator getLclAbleMasterLocator3()
public javax.agent.Locator getLclAbleMasterLocator4()
public javax.agent.Locator getLclAbleDistrLocator1()
public javax.agent.Locator getLclAbleDistrLocator2()
public javax.agent.AgentName getLclAgentName1()
public javax.agent.AgentName getLclAgentName2()
public void init()
throws AbleException
AblePlatformDefaultAgentAblePlatformDefaultAgent.initializeAgent(AbleSecureKey)
must be used instead.
init in interface AbleRemoteBeaninit in class AblePlatformDefaultAgentAbleException - On any error.public static void main(java.lang.String[] args)
args - are ignored....
public long getNumRec()
public void setNumRec(long numRec)
public void setTestDataFileName(java.lang.String aFileName)
throws AbleException
AbleExceptionpublic java.lang.String getTestDataFileName()
public void setMode(int mode)
throws AbleException
AbleExceptionpublic void receiveMessage(javax.agent.TransportMessage theTransportMessage)
In this implementation, absolutely nothing happens.
receiveMessage in interface javax.agent.service.transport.MessageListenerreceiveMessage in class AblePlatformDefaultAgenttheTransportMessage - A message from the Message Transport service.
public java.lang.Object processDistrAgent1(java.lang.Object theArgs)
public java.lang.Object processDistrAgent2(java.lang.Object theArgs)
public void sendTo(javax.agent.Locator theDestinationLocator,
javax.agent.AgentName theDestinationAgentName,
java.lang.Object theMessage)
throws AbleException
AbleExceptionpublic java.lang.Object processCentralAgent(java.lang.Object theArgs)
public void someOtherRcvMsgMethod1(javax.agent.TransportMessage theTransportMessage)
public void someOtherRcvMsgMethod2(javax.agent.TransportMessage theTransportMessage)
public void someOtherRcvMsgMethod3(javax.agent.TransportMessage theTransportMessage)
public void someOtherRcvMsgMethod4(javax.agent.TransportMessage theTransportMessage)
public void rcvMsgForFooBar(javax.agent.TransportMessage theTransportMessage)
public void rcvMsgForBarBaz(javax.agent.TransportMessage theTransportMessage)
protected void debugTrace(java.lang.String theMessage)
debugTrace in class AbleDefaultAgenttheMessage - A String containing text to be traced.
|
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 | |||||||||||