renamed dataLoop

This commit is contained in:
Dave Schuyler 2004-09-24 22:26:31 +00:00
parent 06209c5888
commit c5a736e61b

View File

@ -65,12 +65,12 @@ class ClusterServer(DirectObject.DirectObject):
self.daemon.serverReady(clusterDaemonClient, clusterDaemonPort) self.daemon.serverReady(clusterDaemonClient, clusterDaemonPort)
def startListenerPollTask(self): def startListenerPollTask(self):
# Run this task near the start of frame, sometime after the dataloop # Run this task near the start of frame, sometime after the dataLoop
taskMgr.add(self.listenerPollTask, "serverListenerPollTask",-40) taskMgr.add(self.listenerPollTask, "serverListenerPollTask",-40)
def listenerPollTask(self, task): def listenerPollTask(self, task):
""" Task to listen for a new connection from the client """ """ Task to listen for a new connection from the client """
# Run this task after the dataloop # Run this task after the dataLoop
if self.qcl.newConnectionAvailable(): if self.qcl.newConnectionAvailable():
self.notify.info("New connection is available") self.notify.info("New connection is available")
rendezvous = PointerToConnection() rendezvous = PointerToConnection()