Package smartcard :: Package pyro :: Package server :: Module PyroNameServer :: Class PyroNameServer
[hide private]
[frames] | no frames]

Class PyroNameServer

source code


Thread running the Pyro Name server.

Instance Methods [hide private]
 
__init__(self, args=[])
Initialize pyro name server with command line arguments.
source code
 
getShutdownArgs(self)
return command line arguments for shutting down the server; this command line is built from the name server startup arguments.
source code
 
listall(self)
List pyro namespace.
source code
 
ping(self)
Ping pyro naming server.
source code
 
run(self)
Starts Pyro naming server with command line arguments (see pyro documentation)
source code
 
stop(self)
Shutdown pyro naming server.
source code
 
waitStarted(self)
wait until name server is started.
source code
 
__call__(self, signame, sf)
Ctrl+c handler that will gracefully shutdown the server upon Ctrl+C signal
source code

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, is_alive, join, setDaemon, setName, start

Inherited from threading.Thread (private): _reset_internal_locks, _set_daemon, _set_ident

Inherited from threading._Verbose (private): _note

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from threading.Thread: daemon, ident, name

Inherited from threading.Thread (private): _block

Inherited from object: __class__

Method Details [hide private]

__init__(self, args=[])
(Constructor)

source code 

Initialize pyro name server with command line arguments. For a complete list of command line arguments, see pyro documentation for pyro-ns start script.

Overrides: object.__init__

run(self)

source code 

Starts Pyro naming server with command line arguments (see pyro documentation)

Overrides: threading.Thread.run