some messages to message queue. Then engine reads that messages and sends some replies, or data, errors, statuses in other message queue.
Messages, sent from GUI have unique ID, so when Engine send reply back, it uses this ID.
How can i handle Engine replies? So, i need to identify to which GUI request, Engine sends reply.
Engine can send not only replies, but also as i mentioned, some statuses, errors... I need to be able to handle this in GUI too.
It mostly about DESIGN. What would you recommend to achieve what i need?
a proper message structure or separating handlers
Обсуждают сегодня