use TCP to connect to mbed connector

Fork of mbedConnectorInterfaceWithDM by Doug Anson

Revision:
27:b8aaf7dc7023
Parent:
15:c11dbe4d354c
Child:
33:1d0b855df5a5
--- a/mbed-connector-interface/ConnectorEndpoint.h	Sun Jun 12 03:18:25 2016 +0000
+++ b/mbed-connector-interface/ConnectorEndpoint.h	Tue Jun 14 04:01:34 2016 +0000
@@ -37,6 +37,12 @@
 // Options support
 #include "mbed-connector-interface/Options.h"
 
+// ConnectionStatusInterface support
+#include "mbed-connector-interface/ConnectionStatusInterface.h"
+
+// ObjectInstanceManager support
+#include "mbed-connector-interface/ObjectInstanceManager.h"
+
 // Connector namespace
 namespace Connector  {
 
@@ -137,7 +143,19 @@
     
     // Registered with mDC/mDS
     bool isRegistered();
+    
+    /**
+    Set the ConnectionStatusInterface instance
+    @param csi input instance pointer to the ConnectionStatusInterface implementation to be used
+    */
+    static void setConnectionStatusInterfaceImpl(ConnectionStatusInterface *csi); 
 
+	// Set ObjectInstanceManager
+	void setObjectInstanceManager(ObjectInstanceManager *oim);
+	
+	// Get ObjectInstanceManager
+	ObjectInstanceManager *getObjectInstanceManager();
+	
 private:
     Logger            *m_logger;
     Options           *m_options;
@@ -156,10 +174,16 @@
     M2MSecurity *create_server_instance();
     
     // Device Manager
-    void			  *m_device_manager;
+    void			  			*m_device_manager;
 	
 	// DynamicResource Lookup
 	DynamicResource *lookupDynamicResource(M2MBase *base);
+	
+	// ConnectionStatusInterface implementation
+	ConnectionStatusInterface	*m_csi;
+	
+	// ObjectInstanceManager
+	ObjectInstanceManager		*m_oim;
 };
 
 } // namespace Connector