ibspan.tss.agents.rsa.handlers
Class GetDomainOntologyHandler

java.lang.Object
  extended by jade.core.behaviours.Behaviour
      extended by jade.core.behaviours.SimpleBehaviour
          extended by jade.core.behaviours.OneShotBehaviour
              extended by ibspan.tss.messaging.RequestHandler
                  extended by ibspan.tss.agents.rsa.handlers.GetDomainOntologyHandler
All Implemented Interfaces:
Serializable

public class GetDomainOntologyHandler
extends RequestHandler

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class jade.core.behaviours.Behaviour
Behaviour.RunnableChangedEvent
 
Field Summary
 
Fields inherited from class jade.core.behaviours.Behaviour
myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING
 
Constructor Summary
GetDomainOntologyHandler(Agent a, DataStore ds, Object requestKey, Object actKey, Object notificationKey)
           
 
Method Summary
protected  ACLMessage prepareResponse(ACLMessage request, Action act)
          Returns response to the request.
 
Methods inherited from class ibspan.tss.messaging.RequestHandler
action
 
Methods inherited from class jade.core.behaviours.OneShotBehaviour
done
 
Methods inherited from class jade.core.behaviours.SimpleBehaviour
reset
 
Methods inherited from class jade.core.behaviours.Behaviour
actionWrapper, block, block, getBehaviourName, getDataStore, getExecutionState, getParent, handle, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetDomainOntologyHandler

public GetDomainOntologyHandler(Agent a,
                                DataStore ds,
                                Object requestKey,
                                Object actKey,
                                Object notificationKey)
Method Detail

prepareResponse

protected final ACLMessage prepareResponse(ACLMessage request,
                                           Action act)
                                    throws FailureException
Description copied from class: RequestHandler
Returns response to the request. Programmers should implenets this method in order process given request.

Specified by:
prepareResponse in class RequestHandler
Parameters:
request - is message.
act - is Action concept extracted previously from request object.
Returns:
response; null means failure.
Throws:
FailureException