Hi,

ansd first, thanks for you reply.


> For 1):Just an idea, but maybe you have to listen for the appropriateuser 
> pipe´s onSend event, instead of the channel´s one.

Maybe I mis-explained (or mis-understood your answer), but my goal is
to have one channel wrapped in an independant class.
When someone belonging to this channel sends a RAW, I would like to
notify the right instance of my class.

So I don't want to attach anything to any user, but only on the
channel itself.


For 2)

> your workarounds are all fine.

I don't like those two workaround explained before, because:

- workaround 1) means adding code into the global scope while I'd
prefer my class to be completely independant from external code and
fully sufficient for its needs.

- workaround 2) is not really efficient in terms of scalability: if I
instanciate 1000 times myClass, that means for each event the APE
server will have to execute 1000 functions for maximum 1 case where it
is usefull.

Best 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/

Reply via email to