public class QueryTaskServer extends Activity
Constructor and Description |
---|
QueryTaskServer(HyperGraphPeer thisPeer,
java.util.UUID id) |
Modifier and Type | Method and Description |
---|---|
void |
handleMessage(Json msg)
Handle an incoming that was identified as belonging to this activity.
|
void |
initiate()
Called by the framework to initiate a new activity.
|
public QueryTaskServer(HyperGraphPeer thisPeer, java.util.UUID id)
public void initiate()
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
.
public void handleMessage(Json msg)
Activity
Handle an incoming that was identified as belonging to this activity.
handleMessage
in class Activity
msg
- The full message.