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

All Samples(8)  |  Call(4)  |  Derive(0)  |  Import(4)
Returns a new postbox object suitable for use a an Axon outbox.

Keyword arguments:

- notify  -- notify() will be called whenever a message is collected from an inbox that this outbox delivers to.

        def makeOutbox(notify):
    """\
    Returns a new postbox object suitable for use a an Axon outbox.

    Keyword arguments:

    - notify  -- notify() will be called whenever a message is collected from an inbox that this outbox delivers to.
    """
    return postbox(storage=nullsink(), notify=notify)
        


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

src/k/a/Kamaelia-0.6.0/Axon/Component.py   Kamaelia(Download)
 
 
from Box import makeInbox,makeOutbox
 
 
          self.inboxes[boxname] = makeInbox(notify=self.unpause)
      for boxname in self.Outboxes:
          self.outboxes[boxname] = makeOutbox(notify=self.unpause)
 
      self.children = []

src/k/a/kamaelia-HEAD/Sketches/MH/exceptions/Axon/AdaptiveCommsComponent.py   kamaelia(Download)
from Component import component
import idGen
from Box import makeInbox, makeOutbox
 
class _AdaptiveCommsable(object):
      """
      name = self._newOutboxName(*args)
      self.outboxes[name]=makeOutbox(self.unpause)
      return name
 

src/k/a/Kamaelia-0.6.0/Axon/AdaptiveCommsComponent.py   Kamaelia(Download)
from Component import component
import idGen
from Box import makeInbox, makeOutbox
 
class _AdaptiveCommsable(object):
      """
      name = self._newOutboxName(*args)
      self.outboxes[name]=makeOutbox(self.unpause)
      return name