def enterQuietZone(self, requestStatus): self.quietZoneDoneEvent = uniqueName('quietZoneDone') self.acceptOnce(self.quietZoneDoneEvent, self.handleQuietZoneDone) self.quietZoneStateData = QuietZoneState.QuietZoneState( self.quietZoneDoneEvent) self.quietZoneStateData.load() self.quietZoneStateData.enter(requestStatus)
def enterQuietZone(self, requestStatus): self.quietZoneDoneEvent = 'quietZoneDone' self.acceptOnce(self.quietZoneDoneEvent, self.handleQuietZoneDone) self.acceptOnce('enterWaitForSetZoneResponse', self.handleWaitForSetZoneResponse) self.quietZoneStateData = QuietZoneState.QuietZoneState(self.quietZoneDoneEvent) self.quietZoneStateData.load() self.quietZoneStateData.enter(requestStatus)
def enterQuietZone(self, requestStatus): assert (self.notify.debug("enterQuietZone(requestStatus = %s)" % (requestStatus))) self.quietZoneDoneEvent = "quietZoneDone" self.acceptOnce(self.quietZoneDoneEvent, self.handleQuietZoneDone) self.acceptOnce("enterWaitForSetZoneResponse", self.handleWaitForSetZoneResponse) self.quietZoneStateData = QuietZoneState.QuietZoneState( self.quietZoneDoneEvent) self.quietZoneStateData.load() self.quietZoneStateData.enter(requestStatus)
def enterQuietZone(self, requestStatus): teleportDebug(requestStatus, 'Hood.enterQuietZone: status=%s' % requestStatus) self._quietZoneDoneEvent = uniqueName('quietZoneDone') self.acceptOnce(self._quietZoneDoneEvent, self.handleQuietZoneDone) self.quietZoneStateData = QuietZoneState.QuietZoneState(self._quietZoneDoneEvent) self._enterWaitForSetZoneResponseMsg = self.quietZoneStateData.getEnterWaitForSetZoneResponseMsg() self.acceptOnce(self._enterWaitForSetZoneResponseMsg, self.handleWaitForSetZoneResponse) self._quietZoneLeftEvent = self.quietZoneStateData.getQuietZoneLeftEvent() if base.placeBeforeObjects: self.acceptOnce(self._quietZoneLeftEvent, self.handleLeftQuietZone) self.quietZoneStateData.load() self.quietZoneStateData.enter(requestStatus)