def __init__(self, _id, name, mutable, learnable, relationType, pointedID,
                 symbol):
        """Constructor of ComputedRelationVariable:

                @type relationType: string
                @param relationType: the type of computation we will use.
        """
        AbstractRelationVariable.__init__(self, _id, name, mutable, learnable,
                                          pointedID, symbol)
        self.log = logging.getLogger(
            'netzob.Common.MMSTD.Dictionary.Variable.ComputedRelationVariable.py'
        )
        self.relationType = relationType
        self.currentValue = None
예제 #2
0
 def __init__(self, _id, name, mutable, learnable, pointedID, symbol):
     """Constructor of DirectRelationVariable:
     """
     AbstractRelationVariable.__init__(self, _id, name, mutable, learnable, pointedID, symbol)
     self.log = logging.getLogger('netzob.Common.MMSTD.Dictionary.Variable.AbstractRelationVariable.py')