Handling multiple types of messages in loop ? #877
Unanswered
glennpierce
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following proto interface
I am having a nightmare handling it though.
I have a event handler like
I could handle when I knew the request in advance like
but how can handle any type of message in the loop dynamically ?
Maybe put a required string as the first entry of each message and match that in the byte stream ?
Beta Was this translation helpful? Give feedback.
All reactions