예제 #1
0
 def on_disconnect(conn_id):
     link.stop()
예제 #2
0
 def on_ready_to_send(conn_id, last_send_size):
     container["sent"] = data_to_send[:last_send_size]
     link.close(conn_id)
     link.stop()
예제 #3
0
 def on_ready_to_send(conn_id, last_send_size):
     container["sent"] = data_to_send[:last_send_size]
     link.close(conn_id)
     link.stop()
예제 #4
0
 def on_disconnect(conn_id):
     link.stop()
예제 #5
0
파일: mm.py 프로젝트: emmerichLuang/uhp
 def _inner_on_message_sent(conn_id, ident, message_uuid):
     link.stop()
     msg_num[0] = 0