|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hypergraphdb.peer.workflow.Activity
org.hypergraphdb.peer.replication.PublishInterestsTask
public class PublishInterestsTask
| Constructor Summary | |
|---|---|
PublishInterestsTask(HyperGraphPeer thisPeer,
HGAtomPredicate pred)
Constructor called by current peer to publish his interests |
|
PublishInterestsTask(HyperGraphPeer thisPeer,
java.util.UUID id)
Constructor called by peer interface -someone is requesting us to publish our interests |
|
| 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 |
|---|
public PublishInterestsTask(HyperGraphPeer thisPeer,
HGAtomPredicate pred)
peerInterface - pred -
public PublishInterestsTask(HyperGraphPeer thisPeer,
java.util.UUID id)
peerInterface - peer - msg - | Method Detail |
|---|
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.
initiate in class Activitypublic void handleMessage(Message msg)
ActivityHandle an incoming that was identified as belonging to this activity.
handleMessage in class Activitymsg - The full message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||