Type.registerNamespace('KMCTConf');
KMCTConf.Service1=function() {
KMCTConf.Service1.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
KMCTConf.Service1.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return KMCTConf.Service1._staticInstance.get_path();},
SetBroadcast:function(serverAddress,succeededCallback, failedCallback, userContext) {
/// <param name="serverAddress" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SetBroadcast',false,{serverAddress:serverAddress},succeededCallback,failedCallback,userContext); },
GetServerAddress:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetServerAddress',false,{},succeededCallback,failedCallback,userContext); }}
KMCTConf.Service1.registerClass('KMCTConf.Service1',Sys.Net.WebServiceProxy);
KMCTConf.Service1._staticInstance = new KMCTConf.Service1();
KMCTConf.Service1.set_path = function(value) {
KMCTConf.Service1._staticInstance.set_path(value); }
KMCTConf.Service1.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return KMCTConf.Service1._staticInstance.get_path();}
KMCTConf.Service1.set_timeout = function(value) {
KMCTConf.Service1._staticInstance.set_timeout(value); }
KMCTConf.Service1.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return KMCTConf.Service1._staticInstance.get_timeout(); }
KMCTConf.Service1.set_defaultUserContext = function(value) { 
KMCTConf.Service1._staticInstance.set_defaultUserContext(value); }
KMCTConf.Service1.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return KMCTConf.Service1._staticInstance.get_defaultUserContext(); }
KMCTConf.Service1.set_defaultSucceededCallback = function(value) { 
 KMCTConf.Service1._staticInstance.set_defaultSucceededCallback(value); }
KMCTConf.Service1.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return KMCTConf.Service1._staticInstance.get_defaultSucceededCallback(); }
KMCTConf.Service1.set_defaultFailedCallback = function(value) { 
KMCTConf.Service1._staticInstance.set_defaultFailedCallback(value); }
KMCTConf.Service1.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return KMCTConf.Service1._staticInstance.get_defaultFailedCallback(); }
KMCTConf.Service1.set_path("/Real/Service.asmx");
KMCTConf.Service1.SetBroadcast= function(serverAddress,onSuccess,onFailed,userContext) {
/// <param name="serverAddress" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
KMCTConf.Service1._staticInstance.SetBroadcast(serverAddress,onSuccess,onFailed,userContext); }
KMCTConf.Service1.GetServerAddress= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
KMCTConf.Service1._staticInstance.GetServerAddress(onSuccess,onFailed,userContext); }
