This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088

Dependents:   MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ModFileIo.h Source File

ModFileIo.h

00001 #pragma once
00002 #include "NyLPC_net.h"
00003 #include "ModBaseClass.h"
00004 #include "HttpdConnection.h"
00005 #include "Httpd.h"
00006 
00007 namespace MiMic
00008 {
00009     class HttpdConnection;
00010 
00011     /**
00012      * This class is httpd module.
00013      * The class provides 3 services.
00014      * <ul>
00015      * <li>create a blank file.</li>
00016      * <li>remove a file.</li>
00017      * <li>update a file.</li>
00018      * </ul>
00019      */
00020     class ModFileIo:ModBaseClass
00021     {
00022     public:
00023 
00024         ModFileIo(const char* i_path);
00025         ModFileIo();
00026         virtual ~ModFileIo();
00027         void setParam(const char* i_path);
00028         bool execute(HttpdConnection& i_connection);
00029     };
00030 }