Trees | Indices | Help |
---|
|
extern.log.log.Loggable --+ | StartSet
|
|||
|
|||
twisted.internet.defer.Deferred
|
|
||
|
|||
|
|||
|
|||
twisted.internet.defer.Deferred
|
|
||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
Create a StartSet, a data structure for managing starts and stops of remote processes, for example jobs in a jobheaven.
|
Create and register a deferred for starting a given process. The deferred will be fired when the process is ready, as triggered by a call to createSuccess().
|
Trigger a deferred start previously registerd via createStart(). For example, a JobHeaven might call this method when a job has logged in and been told to start a component.
|
Notify the caller that a create has failed, and remove the create from the list of pending creates.
|
Check if a deferred create has been registered for the given avatarId.
|
Create and register a deferred that will be fired when a process has shut down cleanly.
|
Trigger a callback on a deferred previously registered via shutdownStart(). For example, a JobHeaven would call this when a job for which shutdownStart() was called is reaped.
|
Check if a deferred shutdown has been registered for the given avatarId.
|
Notify the startset that an avatar has started. If there was a create deferred registered for this avatar, this will cause createSuccess() to be called.
|
Notify the startset that an avatar has stopped. If there was a shutdown deferred registered for this avatar, this will cause shutdownSuccess() to be called. On the other hand, if there was a create deferred still pending, we will call createFailed with the result of calling getFailure. If no start or create was registered, we do nothing.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Aug 13 06:17:01 2013 | http://epydoc.sourceforge.net |