/[straw]/straw/src/lib/PollManager.py
ViewVC logotype

Diff of /straw/src/lib/PollManager.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.39 by juri, Sun Nov 9 17:53:35 2003 UTC revision 1.40 by juri, Sun Nov 9 20:07:12 2003 UTC
# Line 8  import socket Line 8  import socket
8  class PollManager:  class PollManager:
9      def __init__(self):      def __init__(self):
10          self.pollers = []          self.pollers = []
11    
12        def start_polling_loop(self):
13          gtk.timeout_add(straw.NetworkConstants.POLL_INTERVAL, self.maybe_poll)          gtk.timeout_add(straw.NetworkConstants.POLL_INTERVAL, self.maybe_poll)
14    
15      def maybe_poll(self):      def maybe_poll(self):

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26