use TCP to connect to mbed connector

Fork of mbedConnectorInterfaceWithDM by Doug Anson

Revision:
87:00b3837986c7
Parent:
86:89977e288213
--- a/mbed-connector-interface/ConnectorEndpoint.h	Fri Nov 04 23:37:11 2016 +0000
+++ b/mbed-connector-interface/ConnectorEndpoint.h	Fri Nov 04 23:54:24 2016 +0000
@@ -119,16 +119,18 @@
 #endif
 
 	//  mbed-client : object registered
-    virtual void object_registered(M2MSecurity *server_instance, const M2MServer &);
+    virtual void object_registered(M2MSecurity *security, const M2MServer &server);
+    void object_registered(void *security = NULL,void *server = NULL);
 
 	//  mbed-client : registration updated
-	virtual void registration_updated(M2MSecurity *server_instance, const M2MServer &) ;
+	virtual void registration_updated(M2MSecurity *security, const M2MServer &server);
+	void registration_updated(void *security = NULL,void *server = NULL);
 
 	//  mbed-client : object unregistered
-	virtual void object_unregistered(M2MSecurity *server_instance);
+	virtual void object_unregistered(M2MSecurity *security = NULL);
 
     //  mbed-client : bootstrap done
-	virtual void bootstrap_done(M2MSecurity *server_instance);
+	virtual void bootstrap_done(M2MSecurity *security = NULL);
 
 	//  mbed-client : resource value updated
 	virtual void value_updated(M2MBase *resource, M2MBase::BaseType type) ;