Raspberry Cloud
|
#include <ComputeOnPi.h>
Public Member Functions | |
ComputeOnPi (CloudFileSystem &cloudFileSystem) | |
bool | addFile (string localFileID, string destinationFileID) |
string | getFile (FileDescriptor fileDescriptor) |
ComputeOnPi class implements HomeNetworkBehaviour class it uses the PI to finish the job by sending the request to it it will finish the job using the ComputeOnClient implementation
|
virtual |
Adds a file to the cloud
localFileID | path of file to be added |
destinationFileID | path of file on cloud |
ComputeOnPi implementation
Implements HomeNetworkBehaviour.
|
virtual |
Gets a file from the cloud
fileDescriptor | the descriptor of the file to be retireved |
Implements HomeNetworkBehaviour.