K
Karsten Wutzke
Hello!
I'm developing a chat client and I'm looking for the right pattern for
the object/s that handle the messages between the client and server.
The users can participate in several chats at once. You can think of
it as an IRC client basically, much like ICQ, MSN, AIM or such, just
with many people in a chat (chatroom).
I'm currently looking at the Proxy pattern. Don't know if I might need
a Facade pattern, Chain of Responsibility pattern doesn't seem to
apply, but I'm not sure if I'm on the right track here.
That object being responsible will likely need to dispatch the
incoming messages to the respective chat windows.
Can anyone give some assistance please?
Since the client is implemented in Java what other classes/packages
might be important to mention?
TIA
Karsten
I'm developing a chat client and I'm looking for the right pattern for
the object/s that handle the messages between the client and server.
The users can participate in several chats at once. You can think of
it as an IRC client basically, much like ICQ, MSN, AIM or such, just
with many people in a chat (chatroom).
I'm currently looking at the Proxy pattern. Don't know if I might need
a Facade pattern, Chain of Responsibility pattern doesn't seem to
apply, but I'm not sure if I'm on the right track here.
That object being responsible will likely need to dispatch the
incoming messages to the respective chat windows.
Can anyone give some assistance please?
Since the client is implemented in Java what other classes/packages
might be important to mention?
TIA
Karsten