Chris asked 2016-08-18 17:07:25 UTC
Hello,
I have a couple of apps created in VWG that I've been looking at porting over to WiseJ. One of them is an IRC chat client using IRCDotNet for the back end. In VWG I used the SignalR WebSocket extension to handle refreshing the client with new messages/nick list changes etc. once that feature was added, but I'm not sure how to do that in WiseJ since WebSocket is built right in.
I've messed around with the background task sample to try and implement that functionality in WiseJ, but I haven't figured out how to adapt it to something that doesn't require a user input like a button press to kick off the task with Application.Start. Is there a way to call Application.Update when a new message comes in from the IRC server to make the client update?
Thanks,
Chris
Chris asked 2016-08-18 17:07:25 UTC
Hello,
I have a couple of apps created in VWG that I've been looking at porting over to WiseJ. One of them is an IRC chat client using IRCDotNet for the back end. In VWG I used the SignalR WebSocket extension to handle refreshing the client with new messages/nick list changes etc. once that feature was added, but I'm not sure how to do that in WiseJ since WebSocket is built right in.
I've messed around with the background task sample to try and implement that functionality in WiseJ, but I haven't figured out how to adapt it to something that doesn't require a user input like a button press to kick off the task with Application.Start. Is there a way to call Application.Update when a new message comes in from the IRC server to make the client update?
Thanks,
Chris