|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjade.core.Agent
it.polito.elite.doseWS.agency.DOSEAgent
it.polito.elite.doseWS.agency.AgencyManager
Title: AgencyManager
Description: The agent delegated to manage the whole agency. Listens from WS "object world" requests via a ListenObjectsBehaviour. It starts up the WS and the remote containers. It creates the rest of the agents, kills not respondings and instances new ones. Monitors the knowledge base sunken in the DB manged by the AnnotationRepository WS.
Copyright: Copyright (c) 2004
Company: Politecnico di Torino
| Field Summary | |
java.util.HashSet |
Annotators
|
java.util.HashSet |
Filters
|
java.util.Hashtable |
PendingEmployees
|
static java.lang.String |
SERVICE
|
java.util.HashSet |
SynsetManagers
|
| Fields inherited from class jade.core.Agent |
AP_ACTIVE, AP_DELETED, AP_IDLE, AP_INITIATED, AP_MAX, AP_MIN, AP_SUSPENDED, AP_TRANSIT, AP_WAITING, D_ACTIVE, D_MAX, D_MIN, D_RETIRED, D_SUSPENDED, D_UNKNOWN |
| Constructor Summary | |
AgencyManager()
|
|
| Method Summary | |
java.lang.String |
getAnnotationEP()
Tells the Annotation WS endpoint for this platform |
void |
handleMessage(jade.lang.acl.ACLMessage msg)
Overrides the same method of DOSEAgent. |
boolean |
indexURI(java.lang.String URI)
Issues the indexing of a document, given its URL, to the agency |
void |
log(java.lang.String description)
Logs an event |
void |
setup()
|
| Methods inherited from class jade.core.Agent |
addBehaviour, blockingReceive, blockingReceive, blockingReceive, blockingReceive, doActivate, doClone, doDelete, doMove, doStart, doSuspend, doTimeOut, doWait, doWait, doWake, extractPassword, extractUsername, getAID, getAMS, getAuthority, getCertificateFolder, getContainerController, getContentManager, getCurQueueSize, getDefaultDF, getHap, getLocalName, getName, getO2AObject, getPrincipal, getProperty, getQueueSize, getState, here, notifyChangeBehaviourState, notifyRestarted, postMessage, putBack, putO2AObject, read, read, receive, receive, removeBehaviour, restartLater, restore, run, send, setArguments, setEnabledO2ACommunication, setOwnership, setPrincipal, setQueueSize, waitUntilStarted, write |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String SERVICE
public java.util.HashSet Filters
public java.util.HashSet Annotators
public java.util.HashSet SynsetManagers
public java.util.Hashtable PendingEmployees
| Constructor Detail |
public AgencyManager()
| Method Detail |
public void setup()
public void handleMessage(jade.lang.acl.ACLMessage msg)
handleMessage in class DOSEAgentmsg - Incoming Messagepublic boolean indexURI(java.lang.String URI)
URI - document URL
public void log(java.lang.String description)
description - String that describes the eventpublic java.lang.String getAnnotationEP()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||