cbr.agent
Class CCVQueryAgent

java.lang.Object
  extended byde.fhg.igd.semoa.agent.RoundtripAgent
      extended bycbr.agent.CCVQueryAgent
All Implemented Interfaces:
Runnable, Serializable

public class CCVQueryAgent
extends RoundtripAgent

See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.fhg.igd.semoa.agent.RoundtripAgent
debug_, env_, MAX_RETRIES, mob_, start_, time_, vars_
 
Constructor Summary
CCVQueryAgent()
           
 
Method Summary
protected  void finish()
          This method is called when the agent reached its final hop.
 String getProperty(String key)
           
protected  void perform()
          This method must be implemented by subclasses.
 
Methods inherited from class de.fhg.igd.semoa.agent.RoundtripAgent
getHopNumber, onRunning, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CCVQueryAgent

public CCVQueryAgent()
Method Detail

getProperty

public String getProperty(String key)

perform

protected void perform()
Description copied from class: RoundtripAgent
This method must be implemented by subclasses. It is called once for each hop on the agent's itinarary when the agent is at the desired hop. Default is to print the number of the current hop.

Overrides:
perform in class RoundtripAgent

finish

protected void finish()
Description copied from class: RoundtripAgent
This method is called when the agent reached its final hop. Subclasses should override this method with agent specific behavior. Default is to print a short message saying that the agent finished.

Overrides:
finish in class RoundtripAgent


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.