Host library for controlling a WiConnect enabled Wi-Fi module.

Dependents:   wiconnect-ota_example wiconnect-web_setup_example wiconnect-test-console wiconnect-tcp_server_example ... more

Revision:
1:6ec9998427ad
Parent:
0:ea85c4bb5e1f
Child:
11:ea484e1b7fc4
--- a/SocketInterface.h	Mon Aug 11 09:58:24 2014 +0000
+++ b/SocketInterface.h	Mon Aug 11 03:29:30 2014 -0700
@@ -25,9 +25,6 @@
 class SocketInterface
 {
 public:
-    SocketInterface(Wiconnect *wiconnect);
-    ~SocketInterface();
-
     WiconnectResult closeAllSockets();
     WiconnectResult registerSocketIrqHandler(Pin irqPin, const Callback &handler);
     WiconnectResult unregisterSocketIrqHandler(Pin irqPin);
@@ -44,6 +41,8 @@
     WiconnectResult httpGetStatus(Socket &socket, uint32_t *statusCodePtr);
 
 protected:
+    SocketInterface(Wiconnect *wiconnect);
+
     SocketIrqHandlerMap irqHandlers;
 
 private:
@@ -51,4 +50,3 @@
 };
 
 }
-