def on_connect(): SMB.createStatusChannel() SMB.createJobsSender() handle_Dispatcher() #Call task dispatcher delegate.
def on_connect(): SMB.createStatusChannel() SMB.createJobsReceiver(on_job)