org.hypergraphdb.peer.workflow
Class QueryTaskServer

java.lang.Object
  extended by org.hypergraphdb.peer.workflow.Activity
      extended by org.hypergraphdb.peer.workflow.QueryTaskServer

public class QueryTaskServer
extends Activity


Constructor Summary
QueryTaskServer(HyperGraphPeer thisPeer, java.util.UUID id)
           
 
Method Summary
 void handleMessage(Message msg)
           Handle an incoming that was identified as belonging to this activity.
 void initiate()
           Called by the framework to initiate a new activity.
 
Methods inherited from class org.hypergraphdb.peer.workflow.Activity
getFuture, getId, getState, getType, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryTaskServer

public QueryTaskServer(HyperGraphPeer thisPeer,
                       java.util.UUID id)
Method Detail

initiate

public void initiate()
Description copied from class: Activity

Called by the framework to initiate a new activity. This method is only invoked at the peer initiating the activity. Once an activity has been initiated, its state changes to Started.

Specified by:
initiate in class Activity

handleMessage

public void handleMessage(Message msg)
Description copied from class: Activity

Handle an incoming that was identified as belonging to this activity.

Specified by:
handleMessage in class Activity
Parameters:
msg - The full message.