def serve(self, timeout = 1):
        data = self._recv(timeout, wait_for_lock = True)
        if not data:
            return False
        # print "-->got data (",data,")"
        try:
            # note: we're acquiring a shared lock here since we want network event handlers to be dispatched
            #       atomically w.r.t. the local game state and engne state
            #framework.tickmodule.shared_lock.acquire()
            self._dispatch(data)
        finally:
            #framework.tickmodule.shared_lock.release()
            pass

        return True
Serves a single request or reply that arrives within the given
dataset/ETHPy150Open sccn/SNAP/src/rpyc/core/protocol.py/Connection.serve