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