ix.test
Class SimpleIQuery.ExampleLookupHandler

java.lang.Object
  extended by ix.iquery.LookupHandler
      extended by ix.test.SimpleIQuery.ExampleLookupHandler
Enclosing class:
SimpleIQuery

static class SimpleIQuery.ExampleLookupHandler
extends LookupHandler


Field Summary
 
Fields inherited from class ix.iquery.LookupHandler
lookupActivity, queryAgent
 
Constructor Summary
SimpleIQuery.ExampleLookupHandler(IQuery queryAgent, Activity lookupActivity)
           
 
Method Summary
protected  void handleLookup()
          Looks up information and sends report back to the agent that sent us the activity.
 
Methods inherited from class ix.iquery.LookupHandler
makeReport, makeReport, makeStateConstraint, makeStateConstraint, makeStateConstraint, makeStateConstraint, sendAbout, sendReply, sendReport, sendReport, sendTo, transcript
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleIQuery.ExampleLookupHandler

SimpleIQuery.ExampleLookupHandler(IQuery queryAgent,
                                  Activity lookupActivity)
Method Detail

handleLookup

protected void handleLookup()
Description copied from class: LookupHandler
Looks up information and sends report back to the agent that sent us the activity. Note that this method is called in a separate thread and is a method of a new instance of the relevant LookupHandler subclass. This allows multiple activities to be handled in parallel without interfering with each other.

Specified by:
handleLookup in class LookupHandler