Ignore:
Timestamp:
02/25/12 13:55:56 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Fault messages are routed through the Flight object

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/flight.py

    r29 r30  
    6464            return False
    6565
     66    def handleFault(self, faultID, timestamp, what, score):
     67        """Handle the given fault.
     68
     69        faultID as a unique ID for the given kind of fault. If another fault of
     70        this ID has been reported earlier, it will be reported again only if
     71        the score is greater than last time. This ID can be, e.g. the checker
     72        the report comes from."""
     73        self.logger.fault(faultID, timestamp, what, score)
     74
     75    def handleNoGo(self, faultID, timestamp, what, shortReason):
     76        """Handle a No-Go fault."""
     77        self.logger.noGo(faultID, timestamp, what)
     78
    6679    def flareStarted(self, flareStart, flareStartFS):
    6780        """Called when the flare time has started."""
Note: See TracChangeset for help on using the changeset viewer.