ADLINK-IST / opensplice

This is the Vortex OpenSplice Community Edition source repository. For our commercial offering see
https://www.adlinktech.com/en/vortex-opensplice-data-distribution-service
Apache License 2.0
259 stars 155 forks source link

What does the WaitSet.dispatch() pattern look like for Python? #120

Closed solarjoe closed 4 years ago

solarjoe commented 4 years ago

I could not figure out how WaitSet.dispatch() could be used in Python?

Is there some workaround or something that I have missed to attach a callback function to a WaitSet?

pgangula-src commented 4 years ago

Hi Solarjoe,

WaitSet.dispatch() is explicit for ISOCPP API which basically invokes the handler associated with triggered condition as an alternative to find active conditions through iteration and execute the logic. But being a language with high abstraction Python should be able to provide such event handling mechanisms.

Best Regards, Phani Gangula Solutions Architect ADLINK Software and Solutions Group

ThijsSassen commented 4 years ago

closing this as answered