Feature #2006
Support call action without parameter
Status: | Resolved | Start date: | 09/16/2014 | |
---|---|---|---|---|
Priority: | Normal | Due 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
Associated revisions
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
Applied in changeset e2c3efaefc97aa4c44b31cf78b82b9f5922f59a0.
#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>