Esempio n. 1
0
 def _newconnection(self, name):
     """
     Call-back function when a new connection
     is extablished
     """
     report('newTransConnection', rec=name)
     report('myPID', pid=core.get_pid())
Esempio n. 2
0
 def _newconnection(self):
     """
     New connection or connection restablished
     """
     report('newRecConnection', port=self.portname)
     report('myPID', pid=core.get_pid())