Not sure if this project is still active, but if it is any oneone is out there:
Is the reconnect logic known to work? WHen experimenting with restarting a telnet session, I notice that the User object thread traps the IOException in its run() method, but then dies (the while-loop was inside the catch block). A reconnect will find the existing user in the World, and use that object, but it no longer has a valid connection.
I've made some temporary code changes to start a new thread for the User, but this is having a cascading effect (ie: Im touching a lot of placed in the code affected by this). Also, I am not seeing anywhere that a User object is removed from the world unless they choose log out or the server is shut down. Is this correct?
thanks,
Dan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Not sure if this project is still active, but if it is any oneone is out there:
Is the reconnect logic known to work? WHen experimenting with restarting a telnet session, I notice that the User object thread traps the IOException in its run() method, but then dies (the while-loop was inside the catch block). A reconnect will find the existing user in the World, and use that object, but it no longer has a valid connection.
I've made some temporary code changes to start a new thread for the User, but this is having a cascading effect (ie: Im touching a lot of placed in the code affected by this). Also, I am not seeing anywhere that a User object is removed from the world unless they choose log out or the server is shut down. Is this correct?
thanks,
Dan