BaseContext :: processState - Process state property
The process state indicates, whether a context is opened, active or busy. Some process states permit calling context actions and have to be checked, e.g. when context is closing.
Process states can also be set by applications in order to indicate busy or active contexts.
When the context handle does not refer to a valid context instance the property throws an exception.
Return value: Process state of the resource context ( odaba::ProcessStates )
Implementation overview
- Get current process state
BaseContext :: processState (  ) - Change or set process state
BaseContext :: processState ( eProcessState )
Implementation details
- to list
-
Change or set process state
odaba::ProcessStates BaseContext  :: processState ( odaba::ProcessStates eProcessState )
The function sets the process state to the value passed in eProcessState . The application should change the process state to Busy or Active , only. Other process states are managed by the system. In order to reset active or busy state, the process state should be set to Opened or to its original value.
- eProcessState - Process state of the resource context
to list