Hi Bino, i _never_ write code using twisted (yet, i hope), but reading your question lead me to one (i think) example:
https://github.com/praekelt/vumi/blob/develop/vumi/servicemaker.py#L174 hope it helps -- Sayid Munawar Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Monday, 11 November 2013 at 3:15 PM, b...@indoakses-online.com wrote: > Dear All. > > Currently I have a single '.tac' file that use MultiService() > > Ended with > ---------------- > > #Create Application > print 'create application' > application = service.Application("Serial MultiService Example") > #Creating Multi Service > multiService = service.MultiService() > ... > ... > multiService.setServiceParent(application) > > -------------- > currently it works just fine > > > Now, i need to to able to run it using some parameter from the commandline. > I kne that I have to take 'tap' path. > I read http://docs.huihoo.com/python/twisted/howto/tap.html but (thanks to > my lame brain) failed to understand on how to implement this to my > existing script. > > Kindly please tell me how to do it or give me realy basic example on > using/migrating tac file with Twisted Application Plugin. > > Sincerely > -bino- > > > _______________________________________________ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com (mailto:Twisted-Python@twistedmatrix.com) > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > >
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python