ix.ip2
Class QueryHandler.QueryAction

java.lang.Object
  extended by ix.ip2.HandlerAction
      extended by ix.ip2.QueryHandler.QueryAction
Enclosing class:
QueryHandler

static class QueryHandler.QueryAction
extends HandlerAction

Sends a query to a specified agent.


Nested Class Summary
 
Nested classes/interfaces inherited from class ix.ip2.HandlerAction
HandlerAction.Automatic, HandlerAction.AutomaticWhenBound, HandlerAction.Manual, HandlerAction.NoAction, HandlerAction.NotApplicable
 
Field Summary
(package private)  AgendaItem item
           
 
Fields inherited from class ix.ip2.HandlerAction
shortDescription
 
Constructor Summary
QueryHandler.QueryAction(AgendaItem item)
           
 
Method Summary
 void handle(AgendaItem item)
          Handle the item in the manner appropriate to this handler-action.
 boolean isReady()
          Indicates whether this action is ready to be used or else is waiting for something that would enable it to be used.
 
Methods inherited from class ix.ip2.HandlerAction
canAlwaysBeTakenNow, computeStatus, getActionDescription, getUnreadyReason, isStillValid, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

item

AgendaItem item
Constructor Detail

QueryHandler.QueryAction

QueryHandler.QueryAction(AgendaItem item)
Method Detail

isReady

public boolean isReady()
Description copied from class: HandlerAction
Indicates whether this action is ready to be used or else is waiting for something that would enable it to be used. The method in the HandlerAction class just returns true and is overridden in subclasses that have instances that are not always ready.

Overrides:
isReady in class HandlerAction
See Also:
HandlerAction.getUnreadyReason()

handle

public void handle(AgendaItem item)
Description copied from class: HandlerAction
Handle the item in the manner appropriate to this handler-action. The method in the HandlerAction class merely changes the item's status to COMPLETE and is overridden in subclasses that handle the item in more interesting ways.

Overrides:
handle in class HandlerAction