|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectes.upv.dsic.gti_ia.core.BaseAgent
es.upv.dsic.gti_ia.cAgents.CAgent
es.upv.dsic.gti_ia.organization.OMS
public class OMS
OMS agent is responsible for managing all the request messages from other entities OMS agent follows a FIPA-Request protocol
| Field Summary |
|---|
| Fields inherited from class es.upv.dsic.gti_ia.cAgents.CAgent |
|---|
defaultFactory, exec, welcomeProcessor |
| Fields inherited from class es.upv.dsic.gti_ia.core.BaseAgent |
|---|
session, traceSession |
| Method Summary | |
|---|---|
protected void |
execution(CProcessor firstProcessor,
ACLMessage welcomeMessage)
This is the main method of the agent |
protected void |
finalize(CProcessor firstProcessor,
ACLMessage finalizeMessage)
This method is executed just before the agent ends its execution |
static OMS |
getOMS()
Returns an instance of the agents OMS |
static OMS |
getOMS(AgentID agent)
Returns an instance of the agents OMS |
String |
getOMSServiceDesciptionLocation()
Gets the URL where the owl's document is located. |
void |
setOMSServiceDesciptionLocation(String OMSUrl)
Changes the URL where the owl's document is located. |
| Methods inherited from class es.upv.dsic.gti_ia.cAgents.CAgent |
|---|
addFactoryAsInitiator, addFactoryAsParticipant, addProcessor, addTimer, createDefaultFactory, endConversation, execute, getMutexHoldCount, lock, newConversationID, notifyAgentEnd, onMessage, removeFactory, removeProcessor, send, Shutdown, startConversation, startSyncConversation, unlock |
| Methods inherited from class es.upv.dsic.gti_ia.core.BaseAgent |
|---|
activateTraceService, changeIdentity, deactivateTraceService, finalize, getAid, getName, init, onTraceEvent, run, sendTraceEvent, start, terminate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static OMS getOMS(AgentID agent)
agent - a new Agent ID
public static OMS getOMS()
public void setOMSServiceDesciptionLocation(String OMSUrl)
OMSUrl - public String getOMSServiceDesciptionLocation()
OMSUrl -
protected void finalize(CProcessor firstProcessor,
ACLMessage finalizeMessage)
CAgent
finalize in class CAgentfirstProcessor - The CProcessor managing the welcome conversationfinalizeMessage - The final message produced by this conversation
protected void execution(CProcessor firstProcessor,
ACLMessage welcomeMessage)
CAgent
execution in class CAgentfirstProcessor - The CProcessor managing the welcome conversationwelcomeMessage - The message sent by the platform to the agent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||