public class GetAtomType extends FSMActivity
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TYPENAME |
Constructor and Description |
---|
GetAtomType(HyperGraphPeer thisPeer,
HGHandle atom,
HGPeerIdentity target) |
GetAtomType(HyperGraphPeer thisPeer,
java.util.UUID id) |
Modifier and Type | Method and Description |
---|---|
HGHandle |
getAtomHandle() |
HGPeerIdentity |
getTarget() |
java.lang.String |
getType()
Return the type name of this activity.
|
HGHandle |
getTypeHandle() |
void |
initiate()
Empty method - override to implement activity initiation.
|
WorkflowStateConstant |
onGetType(Json msg) |
WorkflowStateConstant |
onTypeReceived(Json msg) |
void |
setTarget(HGPeerIdentity target) |
handleMessage, onPeerFailure, onPeerNotUnderstand
public static final java.lang.String TYPENAME
public GetAtomType(HyperGraphPeer thisPeer, java.util.UUID id)
public GetAtomType(HyperGraphPeer thisPeer, HGHandle atom, HGPeerIdentity target)
public void initiate()
FSMActivity
Empty method - override to implement activity initiation.
initiate
in class FSMActivity
public WorkflowStateConstant onGetType(Json msg) throws java.lang.Throwable
java.lang.Throwable
public WorkflowStateConstant onTypeReceived(Json msg)
public HGPeerIdentity getTarget()
public void setTarget(HGPeerIdentity target)
public HGHandle getAtomHandle()
public HGHandle getTypeHandle()
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.