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

All Samples(30)  |  Call(0)  |  Derive(27)  |  Import(3)

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Kamaelia/IPC.py   kamaelia(Download)
# -------------------------------------------------------------------------
 
from Axon.Ipc import producerFinished, notify, shutdownMicroprocess
 
class socketShutdown(producerFinished):
class newCSA(notify):
   """Helper class to notify of new CSAs as they are created.  newCSA.object
   will return the CSA."""
   def __init__(self, caller, CSA, sock=None):
      super(newCSA, self).__init__(caller, CSA)
      self.sock = sock
   def handlesWriting(self):
      return True
 
class shutdownCSA(notify):
class newServer(notify):
   """Helper class to notify of new CSAs as they are created.  newCSA.object
   will return the CSA."""
   def __init__(self, caller, CSA):
      super(newServer, self).__init__(caller, CSA)
class newWriter(notify):
    """Helper class to notify of new CSAs as they are created.  newCSA.object
    will return the CSA."""
    def __init__(self, caller, CSA):
        super(newWriter, self).__init__(caller, CSA)

src/k/a/Kamaelia-0.6.0/Kamaelia/IPC.py   Kamaelia(Download)
# -------------------------------------------------------------------------
 
from Axon.Ipc import producerFinished, notify
 
class socketShutdown(producerFinished):
class newCSA(notify):
   """Helper class to notify of new CSAs as they are created.  newCSA.object
   will return the CSA."""
   def __init__(self, caller, CSA, sock=None):
      super(newCSA, self).__init__(caller, CSA)
      self.sock = sock
   def handlesWriting(self):
      return True
 
class shutdownCSA(notify):
class newServer(notify):
   """Helper class to notify of new CSAs as they are created.  newCSA.object
   will return the CSA."""
   def __init__(self, caller, CSA):
      super(newServer, self).__init__(caller, CSA)
class newWriter(notify):
    """Helper class to notify of new CSAs as they are created.  newCSA.object
    will return the CSA."""
    def __init__(self, caller, CSA):
        super(newWriter, self).__init__(caller, CSA)

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Kamaelia/IPC.py   kamaelia(Download)
# -------------------------------------------------------------------------
 
from Axon.Ipc import producerFinished, notify, shutdownMicroprocess
 
class socketShutdown(producerFinished):
class newCSA(notify):
   """Helper class to notify of new CSAs as they are created.  newCSA.object
   will return the CSA."""
   def __init__(self, caller, CSA, sock=None):
      super(newCSA, self).__init__(caller, CSA)
      self.sock = sock
   def handlesWriting(self):
      return True
 
class shutdownCSA(notify):
class newServer(notify):
   """Helper class to notify of new CSAs as they are created.  newCSA.object
   will return the CSA."""
   def __init__(self, caller, CSA):
      super(newServer, self).__init__(caller, CSA)
class newWriter(notify):
    """Helper class to notify of new CSAs as they are created.  newCSA.object
    will return the CSA."""
    def __init__(self, caller, CSA):
        super(newWriter, self).__init__(caller, CSA)