This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Dependents: MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more
ModRemoteMcu.h
00001 #pragma once 00002 //////////////////////////////////////////////////////////////////////////////// 00003 // ModRemoteMcu.h 00004 //////////////////////////////////////////////////////////////////////////////// 00005 00006 #include "NyLPC_net.h" 00007 #include "ModBaseClass.h" 00008 00009 00010 namespace MiMic 00011 { 00012 class HttpdConnection; 00013 /** 00014 * This class is a module for Httpd. 00015 * The class provides an REST-API to execute MiMic ByteCode. 00016 * The class is wrapper of NyLPC_TcModRemoteMcu class. 00017 */ 00018 class ModRemoteMcu:ModBaseClass 00019 { 00020 public: 00021 /** 00022 * Constructor with parameter initialization. 00023 */ 00024 ModRemoteMcu(const char* i_path); 00025 /** 00026 * Default constructor. 00027 * Must be call {@link setParam} function after constructed. 00028 */ 00029 ModRemoteMcu(); 00030 virtual ~ModRemoteMcu(); 00031 void setParam(const char* i_path); 00032 /** 00033 * This function processes a request. 00034 * The function checks whether a connection has a target request. 00035 * If necessary, it will transmit a response. 00036 * @return 00037 * TRUE if request was processed. otherwise FALSE. 00038 */ 00039 bool execute(HttpdConnection& i_connection); 00040 }; 00041 00042 }
Generated on Tue Jul 12 2022 15:46:15 by 1.7.2