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 ModUPnPDevice.h Source File

ModUPnPDevice.h

00001 #include "NyLPC_net.h"
00002 #include "ModBaseClass.h"
00003 #include "HttpdConnection.h"
00004 #include "Httpd.h"
00005 #include "Net.h"
00006 
00007 namespace MiMic
00008 {
00009     class HttpdConnection;
00010 
00011     /**
00012      * This class is UPnPDevice module.
00013      * The class provides 3 services.
00014      * <ul>
00015      * <li>d.xml - a device description.</li>
00016      * <li>control/xx - soap handler</li>
00017      * <li>event/xx -event handler.</li>
00018      * </ul>
00019      */
00020     class ModUPnPDevice:ModBaseClass
00021     {
00022     private:
00023         const Net* _ref_net;
00024     public:
00025         ModUPnPDevice();
00026         ModUPnPDevice(const Net& i_ref_upnp);
00027         virtual ~ModUPnPDevice();
00028         void setParam(const Net& i_ref_upnp);
00029         bool execute(HttpdConnection& i_connection);
00030     };
00031 }