
Public Member Functions | |
| virtual void | OnError (CAsyncFileWriter *pInstance, const JetByteTools::Win32::_tstring &where, const DWORD lastError)=0 |
| Called when an error occurs during asynchronous processing or file closure. | |
| virtual void | OnError (CAsyncFileWriter *pInstance, const JetByteTools::Win32::_tstring &where, const JetByteTools::Win32::_tstring &message)=0 |
| Called when an error occurs during asynchronous processing or file closure. | |
| virtual void | OnLastWrite (CAsyncFileWriter *pInstance)=0 |
| Called when the final write occurs after Shutdown() has been called on the file writer. You can use this to take an action with the file writer when the last pending write completes rather than blocking a thread to Wait() for the situation. | |
Protected Member Functions | |
| ~Callback () | |
| We never delete instances of this interface; you must manage the lifetime of the class that implements it. | |
| ~Callback | ( | ) | [inline, protected] |
We never delete instances of this interface; you must manage the lifetime of the class that implements it.
| virtual void OnError | ( | CAsyncFileWriter * | pInstance, | |
| const JetByteTools::Win32::_tstring & | where, | |||
| const DWORD | lastError | |||
| ) | [pure virtual] |
Called when an error occurs during asynchronous processing or file closure.
| virtual void OnError | ( | CAsyncFileWriter * | pInstance, | |
| const JetByteTools::Win32::_tstring & | where, | |||
| const JetByteTools::Win32::_tstring & | message | |||
| ) | [pure virtual] |
Called when an error occurs during asynchronous processing or file closure.
| virtual void OnLastWrite | ( | CAsyncFileWriter * | pInstance | ) | [pure virtual] |
Called when the final write occurs after Shutdown() has been called on the file writer. You can use this to take an action with the file writer when the last pending write completes rather than blocking a thread to Wait() for the situation.
1.5.3