Type.registerNamespace('BeTeX.Web.Website.Live');
BeTeX.Web.Website.Live.LiveWebService=function() {
BeTeX.Web.Website.Live.LiveWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
BeTeX.Web.Website.Live.LiveWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return BeTeX.Web.Website.Live.LiveWebService._staticInstance.get_path();},
SetSession:function(linesID,turnirID,sportID,succeededCallback, failedCallback, userContext) {
/// <param name="linesID" type="Number">System.Int32</param>
/// <param name="turnirID" type="Number">System.Int16</param>
/// <param name="sportID" type="Number">System.Int16</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(), 'SetSession',false,{linesID:linesID,turnirID:turnirID,sportID:sportID},succeededCallback,failedCallback,userContext); },
DeletSessionEventWS:function(linesID,turnirID,sportID,succeededCallback, failedCallback, userContext) {
/// <param name="linesID" type="Number">System.Int32</param>
/// <param name="turnirID" type="Number">System.Int32</param>
/// <param name="sportID" type="Number">System.Int32</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(), 'DeletSessionEventWS',false,{linesID:linesID,turnirID:turnirID,sportID:sportID},succeededCallback,failedCallback,userContext); },
ShowLiveWS: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(), 'ShowLiveWS',false,{},succeededCallback,failedCallback,userContext); },
GetServerLiveEvents: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(), 'GetServerLiveEvents',false,{},succeededCallback,failedCallback,userContext); },
GetControlHtml:function(lid,tid,sid,ucid,succeededCallback, failedCallback, userContext) {
/// <param name="lid" type="String">System.String</param>
/// <param name="tid" type="String">System.String</param>
/// <param name="sid" type="String">System.String</param>
/// <param name="ucid" 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(), 'GetControlHtml',false,{lid:lid,tid:tid,sid:sid,ucid:ucid},succeededCallback,failedCallback,userContext); }}
BeTeX.Web.Website.Live.LiveWebService.registerClass('BeTeX.Web.Website.Live.LiveWebService',Sys.Net.WebServiceProxy);
BeTeX.Web.Website.Live.LiveWebService._staticInstance = new BeTeX.Web.Website.Live.LiveWebService();
BeTeX.Web.Website.Live.LiveWebService.set_path = function(value) {
BeTeX.Web.Website.Live.LiveWebService._staticInstance.set_path(value); }
BeTeX.Web.Website.Live.LiveWebService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return BeTeX.Web.Website.Live.LiveWebService._staticInstance.get_path();}
BeTeX.Web.Website.Live.LiveWebService.set_timeout = function(value) {
BeTeX.Web.Website.Live.LiveWebService._staticInstance.set_timeout(value); }
BeTeX.Web.Website.Live.LiveWebService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return BeTeX.Web.Website.Live.LiveWebService._staticInstance.get_timeout(); }
BeTeX.Web.Website.Live.LiveWebService.set_defaultUserContext = function(value) { 
BeTeX.Web.Website.Live.LiveWebService._staticInstance.set_defaultUserContext(value); }
BeTeX.Web.Website.Live.LiveWebService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return BeTeX.Web.Website.Live.LiveWebService._staticInstance.get_defaultUserContext(); }
BeTeX.Web.Website.Live.LiveWebService.set_defaultSucceededCallback = function(value) { 
 BeTeX.Web.Website.Live.LiveWebService._staticInstance.set_defaultSucceededCallback(value); }
BeTeX.Web.Website.Live.LiveWebService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return BeTeX.Web.Website.Live.LiveWebService._staticInstance.get_defaultSucceededCallback(); }
BeTeX.Web.Website.Live.LiveWebService.set_defaultFailedCallback = function(value) { 
BeTeX.Web.Website.Live.LiveWebService._staticInstance.set_defaultFailedCallback(value); }
BeTeX.Web.Website.Live.LiveWebService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return BeTeX.Web.Website.Live.LiveWebService._staticInstance.get_defaultFailedCallback(); }
BeTeX.Web.Website.Live.LiveWebService.set_path("/Live/Live.asmx");
BeTeX.Web.Website.Live.LiveWebService.SetSession= function(linesID,turnirID,sportID,onSuccess,onFailed,userContext) {
/// <param name="linesID" type="Number">System.Int32</param>
/// <param name="turnirID" type="Number">System.Int16</param>
/// <param name="sportID" type="Number">System.Int16</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>
BeTeX.Web.Website.Live.LiveWebService._staticInstance.SetSession(linesID,turnirID,sportID,onSuccess,onFailed,userContext); }
BeTeX.Web.Website.Live.LiveWebService.DeletSessionEventWS= function(linesID,turnirID,sportID,onSuccess,onFailed,userContext) {
/// <param name="linesID" type="Number">System.Int32</param>
/// <param name="turnirID" type="Number">System.Int32</param>
/// <param name="sportID" type="Number">System.Int32</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>
BeTeX.Web.Website.Live.LiveWebService._staticInstance.DeletSessionEventWS(linesID,turnirID,sportID,onSuccess,onFailed,userContext); }
BeTeX.Web.Website.Live.LiveWebService.ShowLiveWS= 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>
BeTeX.Web.Website.Live.LiveWebService._staticInstance.ShowLiveWS(onSuccess,onFailed,userContext); }
BeTeX.Web.Website.Live.LiveWebService.GetServerLiveEvents= 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>
BeTeX.Web.Website.Live.LiveWebService._staticInstance.GetServerLiveEvents(onSuccess,onFailed,userContext); }
BeTeX.Web.Website.Live.LiveWebService.GetControlHtml= function(lid,tid,sid,ucid,onSuccess,onFailed,userContext) {
/// <param name="lid" type="String">System.String</param>
/// <param name="tid" type="String">System.String</param>
/// <param name="sid" type="String">System.String</param>
/// <param name="ucid" 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>
BeTeX.Web.Website.Live.LiveWebService._staticInstance.GetControlHtml(lid,tid,sid,ucid,onSuccess,onFailed,userContext); }
