Feature #1965

Implement custom action for RPC calls

Added by S. Wrede over 4 years ago. Updated over 4 years ago.

Status:In ProgressStart date:08/27/2014
Priority:NormalDue date:
Assignee:-% Done:

20%

Category:-
Target version:-

Description

Realize custom action that handles method calls using the specification outlined in #1940.

It should be able to call methods:

  • with the specified event data
  • utilizing referenced data model items
  • synchronously as default and optionally asynchronously

Furthermore, we need to discuss how to handle return values and/or errors. Options:

  • Raising events when returns arrive?
  • Writing return values to a specified slot in the datamodel
  • Something else?

Related issues

Related to RSB SCXML Engine - Feature #2006: Support call action without parameter Resolved 09/16/2014

Associated revisions

Revision 5cf74dfa
Added by J. Wienke over 4 years ago

Extract rsb:data parsing to own class

Extracts the parsing of rsb:data elements to an extensible parser
architecture in RSBDataParser.

The new parser is now used in PublishAction. In order to test the
modifications to this class, the unit test was improved and thereby the
class was cleaned up.

This also prepares for a call action since this action requires the same
parsing mechanisms.

refs #1965

Revision ed1ac4d0
Added by J. Wienke over 4 years ago

Create a basic rsb call action

The created action uses the RSBDataParser system for parsing the data
and calls servers synchronously while ignoring results apart from
waiting for them.

refs #1965

History

#1 Updated by J. Wienke over 4 years ago

  • Status changed from New to In Progress
  • Assignee set to J. Wienke

I will implement a minimal version that is sufficient for the euroc purposes. This version can later be extended and basically all questions can be deferred to that point.

#2 Updated by J. Wienke over 4 years ago

  • % Done changed from 0 to 20

#3 Updated by J. Wienke over 4 years ago

  • Assignee deleted (J. Wienke)

I remove myself as assignee since the required aspects for euroc have been implemented.

#5 Updated by A. Nordmann over 4 years ago

  • Related to Feature #2006: Support call action without parameter added

Also available in: Atom PDF