CloudEvents #26
Unanswered
tfahringer
asked this question in
Q&A
Replies: 1 comment
-
There are 2 event processors that are described in SCXML standard:
Example of custom ZeroMQ based event processor overrided from uscxml framework SCXMLIOProcessor classclass ZmqIOProcessor : public SCXMLIOProcessor {
ScxmlTask *m_ScxmlTask;
public:
ZmqIOProcessor(IOProcessorCallbacks* callbacks, ScxmlTask *AScxmlTask);
virtual std::list<std::string> getNames() override {
std::list<std::string> names;
names.push_back(protocol());
return names;
};
virtual std::shared_ptr<IOProcessorImpl> create(IOProcessorCallbacks* callbacks) override;
virtual void eventFromSCXML(const std::string& target, const Event& event) override {
// sending received Event from state machine by ZeroMQ network service
}
static std::string protocol() { return "zmq_protocol"; }
}; Other uscxml framwork ioprocessor examples |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
CloudEvents is a major standard for events in the cloud-edge continuum. How could I connect CloudEvents with the generic events of SCXML.
Basically I want to use CloudEvents as the underlying event system for invoking and transferring events.
How can I interface to CloudEvents from SCXML?
Beta Was this translation helpful? Give feedback.
All reactions