Combined WSIOFilter (data and event servers) #4
+120
−25
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Okay, here's a cleaner changelog so we can sync up better. I combined the two WSIO*Filters into one, which hosts two different websocket servers (One to send 'event' information, and one to send 'data' information). The changes to Data.cs are simply adding a callback function OnEventLogged, which 'eventOut' gets passed to. This is so that WSIOFiltercs can utilized 'Data_onEventLogged' to send that event info to to event websocket server.
What I need help with from you is in the WSIO.cs class I have the OnMessage callback (inherited from WebsocketBehavior), which will allow the client to send a message back to the websocket server (wssv_events/data). We need a way of taking that packet and writing it to the Palmtree event log, allowing bidirectional communication with 3rd party apps.
Let me know if this helps!