Raspberry Cloud
Public Member Functions | List of all members
ComputeOnClient Class Reference

#include <ComputeOnClient.h>

Inheritance diagram for ComputeOnClient:
HomeNetworkBehaviour

Public Member Functions

 ComputeOnClient (CloudFileSystem &cloudFileSystem)
 
bool addFile (string localFileID, string destinationFileID)
 
string getFile (FileDescriptor fileDescriptor)
 

Detailed Description

ComputeOnClient class implements HomeNetworkBehaviour class it uses the CloudFileSystem to finish the job

Constructor & Destructor Documentation

ComputeOnClient::ComputeOnClient ( CloudFileSystem cloudFileSystem)
inline

ComputeOnClient constructor

Parameters
cloudFileSystemthe CloudFileSystem reference

Member Function Documentation

bool ComputeOnClient::addFile ( string  localFileID,
string  destinationFileID 
)
virtual

Adds a file to the cloud

Parameters
localFileIDpath of file to be added
destinationFileIDpath of file on cloud

ComputeOnClient implementation

Implements HomeNetworkBehaviour.

string ComputeOnClient::getFile ( FileDescriptor  fileDescriptor)
virtual

Gets a file from the cloud

Parameters
fileDescriptorthe descriptor of the file to be retireved
Returns
path of the file retrieved

Implements HomeNetworkBehaviour.


The documentation for this class was generated from the following files: