public interface LACInterface extends TransientAgentInterface
Copyright: Copyright 2003-2014, Knowledge Science Group, University of Calgary. Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. The Knowledge Science Group makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
Modifier and Type | Method and Description |
---|---|
StatusURLandFile |
registerAgentInstance(URLDescriptor newURL)
Registers an instance of an agent with the LAC.
|
Status |
registerAgentType(String path,
RunDescriptor r)
Registers the type an agent with the LAC.
|
Status |
resolveURL(URLDescriptor url)
Resolved an unresolved URL.
|
Status |
unregisterAgentInstance(URLDescriptor newURL)
De-registers an instance of an agent with the LAC.
|
Status |
unregisterAgentType(String path)
De-registers an an agent type with the LAC.
|
doAdvertise, doCDGetHistory_sync, doCDGetMembers, doCDPutData, doFindInstances_sync, doGetCooperationDomains, doGetOnology, doInviteToCD, doJoinCD, doPing_sync, doPing, doRegisterAgentInstance, doRegisterAgentInstance, doSearchYP, doUnadvertise, doUnregisterAgentInstance, doUnregisterAgentType, doWithdrawCD, executeCommand, getInstancesFound, getJoinedCooperationDomains, getLACURL, getMembers, getOntology, getOptions, getSerializedOntology, getStrategyGUI, hasStrategyGUI, isAAct, isInitialized, isRegistered, makeDefaultInterface, putExtendedOntology, putReplacementOntology, putUI, release_get_ontology, removeCooperationDomains, requestInstances, setOptions, updateOptions
addObserver, addObserver, closePort, deleteObserver, deleteObserver, exit, getAgentName, getName, getNewMessage, getPort, getStrategy, getTrace, getUniqueRequestID, getURL, getUseAckProtocol, hasOpenPort, isA, isAPerformative, isExiting, isLoggingTag, isStoppable, isTracing, println, println, println, realizeAgentBehaviourFromOptions, sendMessage, setTracing, setUseAckProtocol, startTraceMonitor
addObserver, addObserver, countObservers, deleteObservers, hasChanged, notifyObservers, notifyObservers, notifyObserversWithNoArg, notifyObserversWithTop
abclEval, abclEval, abclEval, addTransformation, bump, chooseSC, defer, dequeueEvent, dispatchMsgHandlerMethod, evesdrop, getKnowledgeBase, getName, getSCStore, getSubscribeEvents, getTransformationFor, getUniqueRequestID, getURL, getUseAckProtocol, isA, isA, isA, isA, isAPerformative, isAPerformative, isLoggingTag, notifyObservers, println, println, println, queueEvent, queueEventIf, revTransform, revTransform, sendMessage, transform, transform
StatusURLandFile registerAgentInstance(URLDescriptor newURL)
newURL
- the URL of the registering agentunregiserAgentInstance(URLDescriptor)
Status registerAgentType(String path, RunDescriptor r)
path
- the pathname to register as the type of the agent. e.g. The
type of a "vanilla" agent is "casa/agent/"; a CP agent may be
"casa/cp/agent/".r
- A RunDescriptor object that describes how the LAC should run
the agent if it should be needed.unregiserAgentType(String), RunDescriptor
Status unregisterAgentInstance(URLDescriptor newURL)
newURL
- the URL of the registered agentregiserAgentInstance(URLDescriptor)
Status unregisterAgentType(String path)
path
- the path previously registered as the agent's typeregiserAgentType(String)
Status resolveURL(URLDescriptor url)
url
- the unresolved URL, it will be modified to a resolved
URL if possible