simple question over a multiroom chat
Posted: 06 Sep 2010, 21:49
Hi , fist sorry for my bad english.
I'm developing a multi-rooms chat, and i have some doubt...
1) the user can enter in more room at the same moment so i create a class
InRoomUser. In this class i have the textfield of public messages.
This method involves the creation of more instance of InRoomUser with more textfields fill of messages of all users.
2) i can create only one InRoomUser with a only one textfield of messages and when user change room i change textfield but how can i record last messages of all rooms?
I'm developing a multi-rooms chat, and i have some doubt...
1) the user can enter in more room at the same moment so i create a class
InRoomUser. In this class i have the textfield of public messages.
This method involves the creation of more instance of InRoomUser with more textfields fill of messages of all users.
2) i can create only one InRoomUser with a only one textfield of messages and when user change room i change textfield but how can i record last messages of all rooms?