Class: Ruote::Participant
- Inherits:
-
Object
- Object
- Ruote::Participant
- Includes:
- LocalParticipant
- Defined in:
- lib/ruote/part/participant.rb
Overview
A simple stub class for participants.
Used mostly as in:
class MyParticipant < Ruote::Participant
def on_workitem
workitem.fields['tag'] = 'kilroy was here'
end
end
Instance Attribute Summary
Attributes included from LocalParticipant
#context, #fei, #flavour, #workitem
Instance Method Summary collapse
-
#on_cancel ⇒ Object
Empty default implementation.
Methods included from LocalParticipant
#_accept?, #_dont_thread?, #_on_cancel, #_on_reply, #_on_workitem, #_rtimeout, #applied_workitem, #fexp, #is_cancelled?, #is_gone?, #lookup_variable, #participant_name, #re_dispatch, #reply_to_engine, #unschedule_re_dispatch
Methods included from ReceiverMixin
#fetch_flow_expression, #fetch_workitem, #flunk, #launch, #receive, #reply, #sign
Instance Method Details
#on_cancel ⇒ Object
Empty default implementation.
46 47 |
# File 'lib/ruote/part/participant.rb', line 46 def on_cancel end |