Package ZenHub :: Module zenhub :: Class WorkerInterceptor
[hide private]
[frames] | no frames]

Class WorkerInterceptor

source code

twisted.spread.pb.Referenceable --+
                                  |
                                 WorkerInterceptor

Redirect service requests to one of the worker processes. Note that everything else (like change notifications) go through locally hosted services.

Instance Methods [hide private]
 
__init__(self, zenhub, service) source code
 
remoteMessageReceived(self, broker, message, args, kw)
Intercept requests and send them down to workers
source code
 
addListener(self, listener)
Implement the HubService interface by forwarding to the local service
source code
 
removeListener(self, listener)
Implement the HubService interface by forwarding to the local service
source code
 
update(self, object)
Implement the HubService interface by forwarding to the local service
source code
 
deleted(self, object)
Implement the HubService interface by forwarding to the local service
source code
Class Variables [hide private]
  callTime = 0.