Exemplo 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())
Exemplo n.º 2
0
 def _newconnection(self):
     """
     New connection or connection restablished
     """
     report('newRecConnection', port=self.portname)
     report('myPID', pid=core.get_pid())