예제 #1
0
 def rcv_data_do_it(self,r_uid):
     try:
         c_run = snd.client_run()
         if c_run.connect_server(self.r_ip, self.r_port, self.cli_id, r_uid, 'REC', 'CNTRL') == True:
             c_run.rec_data(self.call_me)
     except Exception as e:
         print "MOUSE_EVENT",e
         return None
예제 #2
0
 def snd_data_do_it(self):
     try:
         c_run = snd.client_run()
         if c_run.connect_server(self.r_ip, self.r_port, self.cli_id, self.cli_route, 'SEN','DISPY') == True:
             self.call_you(c_run)
             #c_run.snd_data(c_run)
     except Exception as e:
         print "REMOTE CONTROLE",e
         return None