queue_message_to_group('GUI', msg)
whereas network nodes were meant to be more anonymous (especially in a
game), and not known until runtime, like ip addresses. However, I
think there is room to make this more generic. Maybe we could have a
unified "send_message" method for both IPC and network messages and
have this method figure out where to send underneath.
2. agreed. It makes sense to break this up into separate methods.
Users may not want to poll for network messages as often as the
actors' "update" method is called, for example. The "tick" does too
much right now. :) Thoughts on the API for this?
John
On Wed, Apr 8, 2009 at 11:37 PM, <codesite...@google.com> wrote:
>
> Comment #6 on issue 3 by arsch...@gmail.com: Implement a way to queue
> message to all listeners
> http://code.google.com/p/pysage/issues/detail?id=3
>
> makes sense. very cool. two more questions:
>
> (1) why are the network calls different from the IPC equivalents?
> (2) is it possible to make it opt-out to poll for messages on the receiving
> end (as opposed to opt-in, which it
> seems to be now)? it could be accomplished with a decorator perhaps.
>
> --
> You received this message because you are listed in the owner
> or CC fields of this issue, or because you starred this issue.
> You may adjust your issue notification preferences at:
> http://code.google.com/hosting/settings
>