def run(self):
        """Starts Pyro naming server with command line arguments (see
        pyro documentation) """
        args = []
        for arg in self.args:
            args.append(arg)
        Args = Pyro.util.ArgParser()
        Args.parse(args, 'hkmrvxn:p:b:c:d:s:i:1:2:')

        hostname = Args.getOpt('n', None)
        identification = Args.getOpt('i', None)
        port = None
        useNameServer = True

        if port:
            port = int(port)
        norange = (port == 0)

        self.starter = Pyro.EventService.Server.EventServiceStarter(
            identification=identification)
        self.starter.start(
            hostname, port, useNameServer=useNameServer, norange=norange)
def run ( self ) : args = [ ] for arg in self . args : args . append ( arg ) Args = Pyro . util . ArgParser ( ) Args . parse ( args , 'hkmrvxn:p:b:c:d:s:i:1:2:' ) hostname = Args . getOpt ( 'n' , None ) identification = Args . getOpt ( 'i' , None ) port = None useNameServer = True if port : port = int ( port ) norange = ( port == 0 ) self . starter = Pyro . EventService . Server . EventServiceStarter ( identification = identification ) self . starter . start ( hostname , port , useNameServer = useNameServer , norange = norange )
Starts Pyro naming server with command line arguments (see
        pyro documentation)