Hello,

maybe I have overlooked some part of the code or the documentation, but to me it looks like the way custom pipes (ape server) are at the moment is not really overly useful; all they really serve for is that the code that does the pipe.sendRaw() has an alias on calling the function registered for pipe.onSend().

A suggestion: Introduce a command with which you can link custom pipes to normal user or channel pipes, such that if something would get posted into a user or channel pipe, it turns up at the custom pipe as well.

With such a function, one could also for example implement the ircserver.js without the loopback connection to itself (which is a little funny solution, I would say), one could easily and more efficiently interface to channels and users from a socket server (which I think at the moment is only possible with a hook on the send command which again needs to filter out the matching stuff) and generally do all kinds of funny stuff.

I might be coming up with a patch to implement this, but I thought I'd toss in the idea here first; maybe I haven't understood how this is supposed to work, or ape wizards from weelya find that a good thing to do and implement it the way that suits their ideas as well...

What do you think?

Thanks!
Stefan

--
Stefan Sayer
VoIP Services Consulting and Development

Warschauer Str. 24
10243 Berlin

tel:+491621366449
sip:[email protected]
email/xmpp:[email protected]


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