cascache: refactor, extract CASDProcessManager and CASDConnection
Make it easier to support the needs of win32 by splitting out a new CASDProcessManager
and CASDConnection
.
This makes it easier to later abstract the choice of:
- Connection method (unix socket vs. localhost)
- Process monitoring (
child_watcher
vs. thread)
This is split out from !1633 (closed), it seems independently beneficial and will simplify the other MR.
Depends on !1667 (merged)
Edited by Angelos Evripiotis