Hi,

I noticed for non interactive channels (ie. those with name beginning by a 'star' character) there is no way for the client to send a RAW to the server directly to the channel.

I'm ok that for 'interactive channels', when a RAW is sent by a user, the server automatically broadcasts it other users. That's their goal after all;

But for 'non interactive channels', instead of simply discarding the received RAW, having something like a 'onSend' callback attached to the channel object himself (or the 'channel.pipe' object) would be a plus.


That way, this would allow to:

- write independant working classes on server side, which would manage all exchanges for a given channel (ie. client => server exchanges too).

- no need to instanciate a specific uni pipe logically binded to the channel and the glue code to manage the same (in a less efficient way compared to the same 'glue' coded directly in the C code of the server).


I'm aware the client already can send commands to the server for client=>srv data exchange. But -as commands are designed to act in a global context, this method is:

- neither 'efficient', as if we use the same cmdName common to several instances, this involves we have to dispatch each command received to the right instance, while dispatching could have been done before in server's C code.

- nor 'clean' (if we use one cmdName personalized for each isntance), as when the instance will be destroyed, there is no way to unregister the personalized command.

Regards,


Nouk²







--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

To unsubscribe from this group, send email to ape-project+unsubscribegooglegroups.com or 
reply to this email with the words "REMOVE ME" as the subject.

Reply via email to