Adding a Thread to our ChatWindow

To get our ChatWindow class listening for new messages, we will use a thread to repeatedly poll our web service for messages which we haven't seen yet.

In order to determine what we have and have not already received, we will be using the date_sent column in our conversation table.

Before we can implement a threaded solution, some modifications need to be made to our database, server, and requester.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset