Create notifiers inside of startAsyncXX() methods when required
It is reasonable to move creation of notifiers from the constructor
to the specific separate methods. In this case notifiers are created
in startAsyncXXX() methods if necessary for concrete I/O operation.
Also it allows to return an error in case a notifier is failed.
Tested on Windows 8 with virtual com0com serial ports.
Change-Id: I351a4c54214c84455150d0fc157a99108280cc12
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
| commit | 22b4e280a16d47b5f46706cf80d976259e519007 |
| parent | 3e5a8a6437321151c24c84ed5e671398a157809e |
| author | Denis Shienkov <denis.shienkov@gmail.com> |
| committer | Denis Shienkov <denis.shienkov@gmail.com> |
| commit time | Sat, 15 Nov 2014 18:01:48 +0100 |