本文整理汇总了Python中Peach.fixup.Fixup类的典型用法代码示例。如果您正苦于以下问题:Python Fixup类的具体用法?Python Fixup怎么用?Python Fixup使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Fixup类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
def __init__(self, firstSend, secondSend, user=None, group=None, password=None):
Fixup.__init__(self)
self.firstSend = firstSend
self.secondSend = secondSend
self.username = user
self.workgroup = group
self.password = password
示例2: __init__
def __init__(self, arg1, arg2, arg3, arg4, arg5, arg6, arg7="", arg8=""):
Fixup.__init__(self)
self.frametype1 = arg1
self.framelength = arg2
self.destupper = arg3
self.destlower = arg4
self.source = arg5
self.frametype2 = arg6
self.headercheckseq = arg7
self.payload = arg8
示例3: __init__
def __init__(self):
random.seed()
Fixup.__init__(self)
示例4: __init__
def __init__(self, minlen, maxlen, fieldtype):
Fixup.__init__(self)
self.minlen = minlen
self.maxlen = maxlen
self.fieldtype = fieldtype
示例5: __init__
def __init__(self, arg1, arg2):
Fixup.__init__(self)
self.text = arg1
self.timestamp = arg2