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

sendEntityUpdate(sender, entity, scope='local')[source]

Call this method to inform the whole application an entity has changed

send_entity_update(sender, entity, scope='local')[source]

Call this method to inform the whole application an entity has changed

camelot.view.remote_signals.construct_signal_handler(*args, **kwargs)[source]

Construct the singleton signal handler

camelot.view.remote_signals.get_signal_handler()[source]

Get the singleton signal handler

camelot.view.remote_signals.has_signal_handler()[source]

Request if the singleton signal handler was constructed