Class: WEEL::ConnectionWrapperBase
- Inherits:
-
Object
- Object
- WEEL::ConnectionWrapperBase
- Defined in:
- lib/weel.rb
Overview
}}}
Class Method Summary collapse
- .inform_connectionwrapper_error(arguments, err) ⇒ Object
- .inform_position_change(arguments, ipc = {}) ⇒ Object
- .inform_state_change(arguments, newstate) ⇒ Object
- .inform_syntax_error(arguments, err, code) ⇒ Object
-
.loop_guard(arguments, lid, count) ⇒ Object
{{{.
Instance Method Summary collapse
- #activity_handle(passthrough, parameters) ⇒ Object
- #activity_manipulate_handle(parameters) ⇒ Object
- #activity_no_longer_necessary ⇒ Object
- #activity_passthrough_value ⇒ Object
- #activity_result_options ⇒ Object
- #activity_result_value ⇒ Object
- #activity_stop ⇒ Object
- #activity_uuid ⇒ Object
- #additional ⇒ Object
- #callback(result = nil, options = {}) ⇒ Object
- #inform_activity_done ⇒ Object
- #inform_activity_failed(err) ⇒ Object
- #inform_activity_manipulate ⇒ Object
- #inform_manipulate_change(status, changed_data, changed_endpoints, data, endpoints) ⇒ Object
-
#initialize(arguments, position = nil, continue = nil) ⇒ ConnectionWrapperBase
constructor
A new instance of ConnectionWrapperBase.
- #join_branches(branches) ⇒ Object
- #manipulate(mr, code, where, result = nil, options = nil) ⇒ Object
- #mem_guard ⇒ Object
- #prepare(readonly, endpoints, parameters, replay = false) ⇒ Object
-
#simulate(type, nesting, sequence, parent, parameters = {}) ⇒ Object
type => activity, loop, parallel, choice nesting => none, start, end eid => id’s also for control structures parameters => stuff given to the control structure.
- #test_condition(mr, code, args = {}) ⇒ Object
- #vote_sync_after ⇒ Object
- #vote_sync_before(parameters = nil) ⇒ Object
Constructor Details
#initialize(arguments, position = nil, continue = nil) ⇒ ConnectionWrapperBase
Returns a new instance of ConnectionWrapperBase.
323 |
# File 'lib/weel.rb', line 323 def initialize(arguments,position=nil,continue=nil); end |
Class Method Details
.inform_connectionwrapper_error(arguments, err) ⇒ Object
320 |
# File 'lib/weel.rb', line 320 def self::inform_connectionwrapper_error(arguments,err); end |
.inform_position_change(arguments, ipc = {}) ⇒ Object
321 |
# File 'lib/weel.rb', line 321 def self::inform_position_change(arguments,ipc={}); end |
.inform_state_change(arguments, newstate) ⇒ Object
318 |
# File 'lib/weel.rb', line 318 def self::inform_state_change(arguments,newstate); end |
.inform_syntax_error(arguments, err, code) ⇒ Object
319 |
# File 'lib/weel.rb', line 319 def self::inform_syntax_error(arguments,err,code); end |
.loop_guard(arguments, lid, count) ⇒ Object
{{{
317 |
# File 'lib/weel.rb', line 317 def self::loop_guard(arguments,lid,count); false; end |
Instance Method Details
#activity_handle(passthrough, parameters) ⇒ Object
328 |
# File 'lib/weel.rb', line 328 def activity_handle(passthrough, parameters); end |
#activity_manipulate_handle(parameters) ⇒ Object
329 |
# File 'lib/weel.rb', line 329 def activity_manipulate_handle(parameters); end |
#activity_no_longer_necessary ⇒ Object
338 |
# File 'lib/weel.rb', line 338 def activity_no_longer_necessary; end |
#activity_passthrough_value ⇒ Object
335 |
# File 'lib/weel.rb', line 335 def activity_passthrough_value; end |
#activity_result_options ⇒ Object
332 |
# File 'lib/weel.rb', line 332 def ; end |
#activity_result_value ⇒ Object
331 |
# File 'lib/weel.rb', line 331 def activity_result_value; end |
#activity_stop ⇒ Object
334 |
# File 'lib/weel.rb', line 334 def activity_stop; end |
#activity_uuid ⇒ Object
336 |
# File 'lib/weel.rb', line 336 def activity_uuid; '42424242-cpee-cpee-cpee-424242424242'; end |
#additional ⇒ Object
326 |
# File 'lib/weel.rb', line 326 def additional; {}; end |
#callback(result = nil, options = {}) ⇒ Object
354 |
# File 'lib/weel.rb', line 354 def callback(result=nil,={}); end |
#inform_activity_done ⇒ Object
340 |
# File 'lib/weel.rb', line 340 def inform_activity_done; end |
#inform_activity_failed(err) ⇒ Object
342 |
# File 'lib/weel.rb', line 342 def inform_activity_failed(err); end |
#inform_activity_manipulate ⇒ Object
341 |
# File 'lib/weel.rb', line 341 def inform_activity_manipulate; end |
#inform_manipulate_change(status, changed_data, changed_endpoints, data, endpoints) ⇒ Object
343 |
# File 'lib/weel.rb', line 343 def inform_manipulate_change(status,changed_data,changed_endpoints,data,endpoints); end |
#join_branches(branches) ⇒ Object
358 |
# File 'lib/weel.rb', line 358 def join_branches(branches); end |
#manipulate(mr, code, where, result = nil, options = nil) ⇒ Object
359 |
# File 'lib/weel.rb', line 359 def manipulate(mr,code,where,result=nil,=nil); mr.instance_eval(code,where,1); end |
#mem_guard ⇒ Object
355 |
# File 'lib/weel.rb', line 355 def mem_guard; end |
#prepare(readonly, endpoints, parameters, replay = false) ⇒ Object
325 |
# File 'lib/weel.rb', line 325 def prepare(readonly, endpoints, parameters, replay=false); parameters; end |
#simulate(type, nesting, sequence, parent, parameters = {}) ⇒ Object
type => activity, loop, parallel, choice nesting => none, start, end eid => id’s also for control structures parameters => stuff given to the control structure
352 |
# File 'lib/weel.rb', line 352 def simulate(type,nesting,sequence,parent,parameters={}); end |
#test_condition(mr, code, args = {}) ⇒ Object
357 |
# File 'lib/weel.rb', line 357 def test_condition(mr,code,args={}); mr.instance_eval(code); end |
#vote_sync_after ⇒ Object
346 |
# File 'lib/weel.rb', line 346 def vote_sync_after; true; end |
#vote_sync_before(parameters = nil) ⇒ Object
345 |
# File 'lib/weel.rb', line 345 def vote_sync_before(parameters=nil); true; end |