Menu

SXMP messages workflow

SXMP messages workflow

SXMP generally was developed as a message passing library, well for this case a few schemes supported.

Message dialogs

Message dialogs is a type of messaging where both sides has ability to send an S expression as a reply for a reply until one of the side will return error code or make a rapid reply.
It might be useful for syncronizaiton i.e. when you need to update some data and receive an updated data again.

Rapid replies

Rapid replies was designed to make remote side more happy, that means the server side isn't waiting the confirmation of delivery when replying with S expression.
As it's done when error code return.

Postponed replies

Postponed replies is actually the same as above, but in this case the message will not be sent within a context of the thread, instead it will goes to the queue and processed via sxmp library threads.

Pulse messages

Pulse messages used as a notify-like messages. In this case your message will be delivered to the other side (be aware - it should be supported by other side) to process it, no message dialog initiated.


Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.