remote_signals¶
- class camelot.view.remote_signals.SignalHandler[source]¶
The signal handler connects multiple collection proxy classes to inform each other when they have changed an object.
If the object is persistent (eg mapped by SQLAlchemy), the signal handler could be used to inform other signal handlers on the network of the change.
- connect_signals(obj)[source]¶
Connect the SignalHandlers its signals to the slots of obj, while the mutex is locked
- sendEntityCreate(sender, entity, scope='local')[source]¶
Call this method to inform the whole application an entity was created
- sendEntityDelete(sender, entity, scope='local')[source]¶
Call this method to inform the whole application an entity is about to be deleted