Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

        def makeEventInbox(notify, size = None):
    result = postbox(storage=notifysink(notify=notify))
    if size is not None:
       result.setSize(size)
    return result
        


src/k/a/kamaelia-HEAD/Sketches/MH/exceptions/Axon/Component.py   kamaelia(Download)
 
 
from Box import makeInbox,makeOutbox,makeEventInbox
 
 
              self.inboxes[boxname] = makeInbox(notify=self.unpause)
          else:
              self.inboxes[boxname] = makeEventInbox(notify=self.__receiveEvent)
      for boxname in self.Outboxes:
          self.outboxes[boxname] = makeOutbox(notify=self.unpause)