Coverage for ion/core/process/cprocess : 87.50%
Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
|
#!/usr/bin/env python
@file ion/core/process/cprocess.py @author Michael Meisinger @brief base classes for internal processes within a capability container """
pass
""" Container object for parameters of events/messages passed to internal capability container processes """
# Event inbound processing path
# Event outbound processing path
# Event processing path
# Event processing should proceed
# Event processing is completed.
# Event processing should stop and event dropped with no action
# Event processing should proceed with lower priority process, if any
# An error has occurred and event processing should stop
# Malformed message
# Authorization error
""" @param path A path designator str, e.g. a constant or other @param message the message envelope @param content the message content @param status the processing status @param route None or a str indicating subsequent routing """
self.note = note self.status = Invocation.STATUS_DONE
self.note = note self.status = Invocation.STATUS_ERROR
""" Interface for all capability container internal processes """ """ @param invocation container object for parameters @retval invocation instance, may be modified """
""" Base class for capability container internal processes. """
# Life cycle
""" """
""" @retval Deferred """
""" @retval Deferred """ return defer.succeed(None)
if cause: log.error("Process error: %s" % cause) pass else: raise RuntimeError("Illegal container process state change")
# Interface API
pass
# Helpers |