mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
renamed dataLoop
This commit is contained in:
parent
06209c5888
commit
c5a736e61b
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user