Hey,

Why don't you put your code inside a module ? (ok it's not documented but really trivial : take a look at the spidermonkey module).

There is a "on_disconnect" callback. Do you think about that ?

Add me on GTalk : [email protected] ;)

Le 05/10/2010 23:32, Andrew Thompson a écrit :
Ok, I've just pushed a second revision of initial ZeroMQ support for APE
to http://github.com/Vagabond/APE_Server/commits/zeromq . Its not there
yet, but I've refactored according to Anthony's suggestions.

Anthony, I have some questions on how to cleanly shutdown any open zmq
sockets when the sockroutine event loop terminates, I don't see an easy
way to close all the sockets and then call zmq_term() because I don't
know which of the sockets are zmq sockets and which aren't. Could we add
a new callback for sockets like on_shutdown or something so I could wire
up a callback for that and call on_shutdown for any sockets implementing
it at the bottom of the sockroutine function? Also, how does the new
patch look to you? Better?

Additionally, would you accept patches to add a .gitignore file so I
don't have a monster list when I run 'git status'? I've got some other
changes I'd like to push too (fix the build system a little, syslog
support, etc).

Thanks,

Andrew


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