public class GetIncidenceSet extends FSMActivity
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPENAME |
Constructor and Description |
---|
GetIncidenceSet(HyperGraphPeer thisPeer,
HGHandle atom,
HGPeerIdentity target) |
GetIncidenceSet(HyperGraphPeer thisPeer,
java.util.UUID id) |
Modifier and Type | Method and Description |
---|---|
HGHandle |
getHandle() |
IncidenceSet |
getIncidenceSet() |
HGPeerIdentity |
getTarget() |
java.lang.String |
getType()
Return the type name of this activity.
|
void |
initiate()
Empty method - override to implement activity initiation.
|
WorkflowStateConstant |
onAtomsReceived(Json msg) |
WorkflowStateConstant |
onGetAtoms(Json msg) |
void |
setTarget(HGPeerIdentity target) |
handleMessage, onPeerFailure, onPeerNotUnderstand
public static final java.lang.String TYPENAME
public GetIncidenceSet(HyperGraphPeer thisPeer, java.util.UUID id)
public GetIncidenceSet(HyperGraphPeer thisPeer, HGHandle atom, HGPeerIdentity target)
public void initiate()
FSMActivity
Empty method - override to implement activity initiation.
initiate
in class FSMActivity
public WorkflowStateConstant onGetAtoms(Json msg) throws java.lang.Throwable
java.lang.Throwable
public WorkflowStateConstant onAtomsReceived(Json msg)
public HGPeerIdentity getTarget()
public void setTarget(HGPeerIdentity target)
public java.lang.String getType()
Activity
Return the type name of this activity. By the default to fully-qualified class name is returned. This method can be overridden by sub-classes to provide a short and/or more human-readable type name.
public HGHandle getHandle()
public IncidenceSet getIncidenceSet()