Author: ygrego Date: 2015-04-22 08:04:01 +0000 (Wed, 22 Apr 2015) New Revision: 1243 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1243 Log: Addition of method "_setCallback" and "_getCallback". Modified: oipf/js/impl/ConfigurationObject.js Modified: oipf/js/impl/ConfigurationObject.js =================================================================== --- oipf/js/impl/ConfigurationObject.js 2015-04-22 07:59:36 UTC (rev 1242) +++ oipf/js/impl/ConfigurationObject.js 2015-04-22 08:04:01 UTC (rev 1243) @@ -34,6 +34,18 @@ this.configuration = new Configuration(); }, + _getCallback : function(type) { + if(this._callbacks) { + return this._callbacks[type]; + } + }, + + _setCallback: function(type, callback){ + if(this._callbacks) { + this._callbacks[type] = callback; + } + }, + /* * Description: * The function that is called when the IP address of a network interface has changed. The specified function