Module pprocess :: Class Persistent
[hide private]
[frames] | no frames]

Class Persistent

source code

Known Subclasses:


A mix-in class providing methods to exchanges for the management of
persistent communications.

Instance Methods [hide private]
 
start_waiting(self, channel)
Start a waiting process given the reception of data on the given 'channel'.
source code
 
start(self, address, callable, *args, **kw)
Create a new process, located at the given 'address', for the given 'callable' using any additional arguments provided.
source code
 
create(self, address)
Create a new process, located at the given 'address', and return the created communications channel to the created process.
source code
 
manage(self, address, callable)
Using the given 'address', publish the given 'callable' in an object which can then be called in the same way as 'callable', but with new processes and communications managed automatically.
source code
 
connect(self, address)
Connect to a process which is contactable via the given 'address'.
source code
Method Details [hide private]

start(self, address, callable, *args, **kw)

source code 

Create a new process, located at the given 'address', for the given
'callable' using any additional arguments provided. Then, monitor the
channel created between this process and the created process.

create(self, address)

source code 

Create a new process, located at the given 'address', and return the
created communications channel to the created process. In the creating
process, return None - the channel receiving data from the created
process will be automatically managed by this exchange.