Feature #2006

Support call action without parameter

Added by Anonymous over 9 years ago. Updated over 9 years ago.

Status:ResolvedStart date:09/16/2014
Priority:NormalDue date:
Assignee:J. Wienke% Done:

100%

Category:-
Target version:-

Description

Currently the engine supports a custom call action with parameters (aka. "external nodes"), but does not seem to support rpc calls without parameters (which is a different method signature on the remote server AFAIR).


Related issues

Related to RSB SCXML Engine - Feature #1965: Implement custom action for RPC calls In Progress 08/27/2014

Associated revisions

Revision e2c3efae
Added by J. Wienke over 9 years ago

Support void data for rsb

  • src/main/java/rsb/scxml/RSBDataParser.java: Added type parser for void
  • src/main/java/rsb/scxml/customaction/CallAction.java: Support void
    calls
  • src/main/java/rsb/scxml/customaction/PublishAction.java: support void
    data
  • src/test/java/rsb/scxml/EngineTest.java: test for void calls added
  • src/test/resources/CallActionVoid.xml: new test spec for void calls

fixes #2006

History

#1 Updated by Anonymous over 9 years ago

  • Related to Feature #1965: Implement custom action for RPC calls added

#2 Updated by J. Wienke over 9 years ago

Is this necessary for euroc? Otherwise I'd like to pass this to someone else.

#3 Updated by Anonymous over 9 years ago

Yes, we have this situatuion in EUROC. Currently we hack around this with a custom action that has an unused nonsense parameter.

#4 Updated by J. Wienke over 9 years ago

  • Status changed from New to In Progress

#5 Updated by J. Wienke over 9 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

#6 Updated by J. Wienke over 9 years ago

The following format is now supported:

<rsb:call rsb:server="/rsbtest" rsb:method="hello">
    <rsb:data rsb:type="void"></rsb:data>
</rsb:call>

Also available in: Atom PDF