Example #1
0
 def __init__(self):
     try:
         Protocol.__init__(self)
     except AttributeError:
         pass
     self.buffer = ""
     self.drd = Deferred()
Example #2
0
 def __init__(self):
     Protocol.__init__(self)
     self.packetBuffer = ''
     self.packetSize = 0
     self.errorMsg = ''
     self.errorId = 0
     self.msgMap = {}
 def __init__(self):
     Protocol.__init__(self)
     self.packetBuffer = ''
     self.packetSize = 0
     self.errorMsg = ''
     self.errorId = 0
     self.msgMap = {}
Example #4
0
 def __init__(self, conn_parameter, receiver):
     Protocol.__init__(self)
     self.buffer = None
     self.conn_parameter = conn_parameter
     self.last_receive_ts = 0.0
     self.last_send_ts = 0.0
     self.connected = False
     self.receiver = receiver
Example #5
0
 def __init__(self):
     Protocol.__init__(self)
     self.debug = True