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

All Samples(4)  |  Call(0)  |  Derive(2)  |  Import(2)
Mixin for making a component 'adaptable' so that it can create and destroy
extra inboxes and outboxes at runtime.

src/k/a/kamaelia-HEAD/Sketches/MH/exceptions/Axon/ThreadedComponent.py   kamaelia(Download)
 
import Component
from AdaptiveCommsComponent import _AdaptiveCommsable as _AC
from AxonExceptions import noSpaceInBox
import threading
class threadedadaptivecommscomponent(threadedcomponent, _AC):
    """\
    threadedadaptivecommscomponent([queuelengths]) -> new threadedadaptivecommscomponent
 
    Base class for a version of an Axon adaptivecommscomponent that runs main()

src/k/a/Kamaelia-0.6.0/Axon/ThreadedComponent.py   Kamaelia(Download)
 
import Component
from AdaptiveCommsComponent import _AdaptiveCommsable as _AC
from AxonExceptions import noSpaceInBox
import threading
class threadedadaptivecommscomponent(threadedcomponent, _AC):
    """\
    threadedadaptivecommscomponent([queuelengths]) -> new threadedadaptivecommscomponent
 
    Base class for a version of an Axon adaptivecommscomponent that runs main()