Closed yury closed 10 years ago
I've thought about this myself. You would think it would be possible, but it would probably push and pull all data from all stores.
The way you could make this work is to make a custom cloud file system. This system would take an array of other cloud file systems as init argument. For each method that needs implementation, it would loop through the other cloud file systems gathering results.
There may be some thought necessary into how results from the various systems should be merged, but it should be possible to do.
In terms of multipeer, I have plans to eventually add direct peer-to-peer cloud file systems like that. The way it would probably work is that the cloud file system object would store all files in a local directory somewhere. When it connected to another peer, it would simply sync up the files, sending any that the other didn't have, and retrieving any that it didn't have itself. Basically it would be the same as the existing local cloud file system, with the addition of being able to connect to peers and sync files. In other words, it would work like iCloud or Dropbox over a local network.
I'm convinced it is all doable, but I won't get to it in the short term. I have issues for some of the functionality.
If you can't wait, you could try making the cloud file system classes yourself. Base them on the existing classes. You should begin with the multi peer one, and if that goes ok, add the 'composite' one that combines several other cloud file systems.
Thank you for your reply. Will wait for #110
Is it possible to implement following scenario:
It is possible to done via DropBox. But I want this to happen via Multipeer Connectivity, because it allows to sync data without actual internet connection. (I'm thinking about implementing CDECloudFileSystem on top of MC)
So question is. Can it possible to add to API, so ensembles publish event logs to different cloud stores?
Thank you for your project.