Raspberry Cloud
Public Member Functions | List of all members
HomeNetworkBehaviour Class Referenceabstract

#include <HomeNetworkBehaviour.h>

Inheritance diagram for HomeNetworkBehaviour:
ComputeOnClient ComputeOnPi

Public Member Functions

virtual bool addFile (string localFileID, string destinationFileID)=0
 
virtual string getFile (FileDescriptor fileDescriptor)=0
 

Detailed Description

HomeNetworkBehaviour class provides interface to the file exchanging

Member Function Documentation

virtual bool HomeNetworkBehaviour::addFile ( string  localFileID,
string  destinationFileID 
)
pure virtual

Adds a file to the cloud

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

Implemented in ComputeOnClient, and ComputeOnPi.

virtual string HomeNetworkBehaviour::getFile ( FileDescriptor  fileDescriptor)
pure virtual

Gets a file from the cloud

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

Implemented in ComputeOnClient, and ComputeOnPi.


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