|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--infosapient.server.InfoSapientKnowledgeWorker
Field Summary | |
private InfoSapientController |
alc
Controller used for mediating requests from rules engine |
private java.lang.String |
attrName
Attribute name. |
private FzyAttribute |
fa
Attribute. |
private FzySet |
fs
Goal set. |
private InfoSapientClientImpl |
InfoSapientClient
InfoSapientClientImpl used to communicate with the objects requesting knowledgebase sessions |
private java.lang.String |
kbTypeName
The type of knowledgebase this thread handles. |
private java.lang.String |
name
Name of this thread. |
private java.util.Properties |
runParameters
Consultation session parameters sent from client to this thread. |
Constructor Summary | |
protected |
InfoSapientKnowledgeWorker(java.lang.String kbTName,
java.lang.String n)
Create a knowledgeWorker with the kb name to load, the name of this thread, and the properties required to connect to the InfoSapientService |
protected |
InfoSapientKnowledgeWorker(java.lang.String kbTName,
java.lang.String n,
java.util.Properties goal)
Create a knowledgeWorker with the kb name to load, the name of this thread, and the properties required to connect to the InfoSapientService |
Method Summary | |
protected InfoSapientClientImpl |
getInfoSapientClient()
Insert the method's description here. |
java.lang.String |
getName()
|
(package private) void |
handleClient()
|
(package private) void |
handleThreadPool()
|
void |
run()
InfoSapientin in a loop until runParameters have been set. |
(package private) void |
setGoalProperties(java.util.Properties wp)
|
protected void |
setInfoSapientClient(InfoSapientClientImpl newInfoSapientClient)
Insert the method's description here. |
(package private) void |
setName(java.lang.String n)
|
void |
update(Observable obs,
java.lang.Object obj)
|
Methods inherited from class java.lang.Object |
|
Field Detail |
private InfoSapientClientImpl InfoSapientClient
private java.lang.String attrName
private FzyAttribute fa
private FzySet fs
private java.util.Properties runParameters
private java.lang.String kbTypeName
private InfoSapientController alc
private java.lang.String name
Constructor Detail |
protected InfoSapientKnowledgeWorker(java.lang.String kbTName, java.lang.String n)
String
- - knowledgebase key in kb.properties fileString
- - worker name.Properties
- - connection properties required.protected InfoSapientKnowledgeWorker(java.lang.String kbTName, java.lang.String n, java.util.Properties goal)
String
- - knowledgebase key in kb.properties fileString
- - worker name.Properties
- - connection properties required.Method Detail |
protected InfoSapientClientImpl getInfoSapientClient()
public java.lang.String getName()
final void handleClient() throws java.lang.Exception
final void handleThreadPool()
public final void run()
void setGoalProperties(java.util.Properties wp)
protected void setInfoSapientClient(InfoSapientClientImpl newInfoSapientClient)
newInfoSapientClient
- infosapient.client.InfoSapientClientImplvoid setName(java.lang.String n)
public final void update(Observable obs, java.lang.Object obj)
|
License to use this program is provided under the TERMS OF THE COMMON PUBLIC LICENSE 0.5. ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |