Package SpecClient :: Module SpecEventsDispatcher
[hide private]
[frames] | no frames]

Module SpecEventsDispatcher

source code

Classes [hide private]
  SpecClientDispatcherError
  Receiver
  Event
  EventsQueue
  BoundMethodWeakRef
'Safe' and reusable weak references to instance methods
Functions [hide private]
 
robustApply(slot, arguments=())
Call slot with appropriate number of arguments
source code
 
callableObjectRef(object)
Return a safe weak reference to a callable object
source code
 
connect(sender, signal, slot, dispatchMode=1) source code
 
disconnect(sender, signal, slot) source code
 
emit(sender, signal, arguments=()) source code
 
dispatch() source code
 
_removeSender(senderId) source code
 
_removeReceiver(weakReceiver)
Remove receiver from connections
source code
 
_cleanupConnections(senderId, signal)
Delete any empty signals for sender.
source code
Variables [hide private]
  eventsToDispatch = EventsQueue()
  connections = {}
  senders = {}
  FIREEVENT = 2
  UPDATEVALUE = 1
  __package__ = 'SpecClient'
Function Details [hide private]

_cleanupConnections(senderId, signal)

source code 

Delete any empty signals for sender. Delete sender if empty.