Пример #1
0
 def __init__(self, mode, new_message_handler):
     SerialModemProtocol.__init__(self,
                                  self.init_sequence, 
                                  mode,
                                  new_message_handler,
                                  stagger_sends=False,
                                  send_interval=(4,10)
                                  )
Пример #2
0
 def __init__(self, mode=1, gsc=None, ssc=None):
     SerialModemProtocol.__init__(self,
                                  self.init_sequence, 
                                  mode=1,
                                  got_sms_callback=gsc,
                                  sent_sms_callback=ssc,
                                  stagger_sends=False,
                                  send_interval=(4,10)
                                  )
Пример #3
0
 def __init__(self, mode, new_message_handler):
     SerialModemProtocol.__init__(self, 
                                  self.init_sequence, 
                                  mode,
                                  new_message_handler,
                                  process_unread_messages=True,
                                  delete_existing_messages=True,
                                  stagger_sends=False,
                                  send_interval=(0,0)
                                  )
Пример #4
0
 def __init__(self, mode=1, gsc=None, ssc=None):
     SerialModemProtocol.__init__(self, 
                                  self.init_sequence, 
                                  mode,
                                  got_sms_callback=gsc,
                                  sent_sms_callback=ssc,
                                  process_unread_messages=False,
                                  delete_existing_messages=True,
                                  stagger_sends=False,
                                  send_interval=(0,0)
                                  )