For nodes require extra actions to be taken before shutdown should implement this interface. For example: some node may want to save some information to file at exit of each run, the node should inherit this interface and implement the save to file operations in this interface.
Public Member Functions | |
virtual dwStatus | preShutdown ()=0 |
actions to be taken before node shutdown More... | |
virtual | ~IContainsPreShutdownAction ()=default |
|
virtualdefault |
|
pure virtual |
actions to be taken before node shutdown