| Home | Trees | Index | Help |
|
|---|
| Package PyMonitor :: Module monitor :: Class MonitorServer |
|
object--+ |_Verbose--+ |Thread--+ | MonitorServer
MonitorServer is an XML-RPC server providing functions from the monitor instance
that is passed as an argument to the server. As default the MonitorServer exposes
the functions in the Monitor class.
Since the monitor class is an parameter to the MonitorServer the functionality
that the MonitorServer provides can be expanded.
i.e.
class MyMonitor(PyMonitor.Monitor):
def additional_method(self, *args, **kwargs):
do something very special
and than to initializie the server by:
mon=PyMonitor.MonitorServer(('localhost', 8881),monitor=MyMonitor())
(thanx to Harald Massa for this)
| Method Summary | |
|---|---|
__init__(self,
addr,
monitor,
daemonized)
| |
die(self)
| |
run(self)
| |
| Inherited from Thread | |
| |
| |
| |
| |
| |
| |
| |
| |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Sat Apr 10 17:08:45 2004 | http://epydoc.sf.net |