Home | Trees | Index | Help |
|
---|
Package Pyblio :: Module Callback :: Class Publisher |
|
object
--+
|
Publisher
Database
,
Database
,
Reader
,
ResultSet
,
ResultSet
,
ResultSetStore
,
RODict
,
RSDB
,
View
,
View
Method Summary | |
---|---|
Intialize the publisher | |
Call this method to emit a signal. | |
Clients interested in a given signal must register with this method. | |
Stop notifying events for the specified signal/callback pair. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
__init__(self)
Intialize the publisher
|
emit(self, signal, *args)Call this method to emit a signal. Registered client will have their callbacks automatically invoked, with the specified arguments |
register(self, signal, callback, *args)Clients interested in a given signal must register with this method. The optional args are passed as the last arguments (after the emit arguments) to the callback. |
unregister(self, signal, callback)Stop notifying events for the specified signal/callback pair. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Sep 24 23:52:43 2006 | http://epydoc.sf.net |