Feature #226
Server able to listen to remote client messages.
| Status : | New | Start : | 08/25/2009 | |
| Priority : | Normal | Due date : | ||
| Assigned to : | derek clayton | % Done : | 0% |
|
| Category : | Messages | |||
| Target version : | Future | |||
Description
Intention:
Allow a server side module developer to listen to messages sent by a remote client (u1, u2, u57) example a CHAT message. Should listeners be able to mutate the message?
Planned Implementation:
Add methods (eg. addClientMessageListener) to Client, Room, and Server which modules can use to listen to the messages as they pass through the server.
Corollary:
Allow a module to listen to all messages (u7) targeted to a client.
Possible API:
getRoom().addEventListener(RoomEvent.ROOM_MESSAGE...)
getServer().addEventListener(ServerEvent.CLIENT_MESSAGE...)
getServer().addEventListener(ServerEvent.SERVER_MESSAGE...)
History
01/21/2010 12:56 PM - derek clayton
- Target version changed from Pending Review to Union Server 1.0 Beta 2
Also available in: Atom