def __init__(self, text): AbstractValue.__init__(self, "TextValue") # create logger with the given configuration self.log = logging.getLogger('netzob.Common.MMSTD.Dictionary.Values.TextValue.py') self.strtext = text self.bintext = TypeConvertor.string2bin(self.strtext, 'big')
def __init__(self): AbstractValue.__init__(self, "Aggregate") # create logger with the given configuration self.log = logging.getLogger( 'netzob.Common.MMSTD.Dictionary.Values.Aggregate.py') self.values = []
def __init__(self, variable, resetCondition): AbstractValue.__init__(self, "VarValue") # create logger with the given configuration self.log = logging.getLogger('netzob.Common.MMSTD.Dictionary.Values.VarValue.py') self.log.debug("VarValue : " + str(variable)) self.variable = variable self.resetCondition = resetCondition
def __init__(self, variable, resetCondition): AbstractValue.__init__(self, "VarValue") # create logger with the given configuration self.log = logging.getLogger( 'netzob.Common.MMSTD.Dictionary.Values.VarValue.py') self.log.debug("VarValue : " + str(variable)) self.variable = variable self.resetCondition = resetCondition
def __init__(self, text): AbstractValue.__init__(self, "TextValue") # create logger with the given configuration self.log = logging.getLogger( 'netzob.Common.MMSTD.Dictionary.Values.TextValue.py') self.strtext = text self.bintext = TypeConvertor.string2bin(self.strtext, 'big')
def __init__(self): AbstractValue.__init__(self, "EndValue") # create logger with the given configuration self.log = logging.getLogger('netzob.Common.MMSTD.Dictionary.Values.EndValue.py')