| |
- _call(receiver, **kwds)
- Call receiver with only arguments it can accept.
- _cleanupConnections(senderkey, signal)
- Delete any empty signals for senderkey. Delete senderkey if empty.
- _removeReceiver(receiver)
- Remove receiver from connections.
- _removeSender(senderkey)
- Remove senderkey from connections.
- connect(receiver, signal=<wxoo.dispatcher._Any instance at 0x015E53A0>, sender=<wxoo.dispatcher._Any instance at 0x015E53A0>, weak=1)
- Connect receiver to sender for signal.
If sender is Any, receiver will receive signal from any sender.
If signal is Any, receiver will receive any signal from sender.
If sender is None, receiver will receive signal from anonymous.
If signal is Any and sender is None, receiver will receive any
signal from anonymous.
If signal is Any and sender is Any, receiver will receive any
signal from any sender.
If weak is true, weak references will be used.
- disconnect(receiver, signal=<wxoo.dispatcher._Any instance at 0x015E53A0>, sender=<wxoo.dispatcher._Any instance at 0x015E53A0>, weak=1)
- Disconnect receiver from sender for signal.
Disconnecting is not required. The use of disconnect is the same as for
connect, only in reverse. Think of it as undoing a previous connection.
- safeRef(object)
- Return a *safe* weak reference to a callable object.
- send(signal, sender=None, **kwds)
- Send signal from sender to all connected receivers.
Return a list of tuple pairs [(receiver, response), ... ].
If sender is None, signal is sent anonymously.
|