Type.registerNamespace('aorta.playmeweb.webcontrols.services');
aorta.playmeweb.webcontrols.services.Player=function() {
aorta.playmeweb.webcontrols.services.Player.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
aorta.playmeweb.webcontrols.services.Player.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return aorta.playmeweb.webcontrols.services.Player._staticInstance.get_path();},
ObterUrlStream:function(idCanal,tipoPlayer,succeededCallback, failedCallback, userContext) {
/// <param name="idCanal" type="String">System.String</param>
/// <param name="tipoPlayer" type="aorta.playmeweb.webcontrols.TipoPlayer">aorta.playmeweb.webcontrols.TipoPlayer</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(), 'ObterUrlStream',false,{idCanal:idCanal,tipoPlayer:tipoPlayer},succeededCallback,failedCallback,userContext); },
ObterUrlStreamB:function(idCanal,succeededCallback, failedCallback, userContext) {
/// <param name="idCanal" 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(), 'ObterUrlStreamB',false,{idCanal:idCanal},succeededCallback,failedCallback,userContext); },
ObterUrlStreamEspecifica:function(idCliente,idCanal,codigoParametroUrlStream,succeededCallback, failedCallback, userContext) {
/// <param name="idCliente" type="String">System.String</param>
/// <param name="idCanal" type="String">System.String</param>
/// <param name="codigoParametroUrlStream" 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(), 'ObterUrlStreamEspecifica',false,{idCliente:idCliente,idCanal:idCanal,codigoParametroUrlStream:codigoParametroUrlStream},succeededCallback,failedCallback,userContext); },
ObterInfoMusica:function(idCanal,succeededCallback, failedCallback, userContext) {
/// <param name="idCanal" 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(), 'ObterInfoMusica',false,{idCanal:idCanal},succeededCallback,failedCallback,userContext); },
GravarLogAcesso:function(ip,idCanal,browserEVersao,so,succeededCallback, failedCallback, userContext) {
/// <param name="ip" type="String">System.String</param>
/// <param name="idCanal" type="String">System.String</param>
/// <param name="browserEVersao" type="String">System.String</param>
/// <param name="so" 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(), 'GravarLogAcesso',false,{ip:ip,idCanal:idCanal,browserEVersao:browserEVersao,so:so},succeededCallback,failedCallback,userContext); },
RegistrarSaida:function(logAcesso,succeededCallback, failedCallback, userContext) {
/// <param name="logAcesso" 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(), 'RegistrarSaida',false,{logAcesso:logAcesso},succeededCallback,failedCallback,userContext); },
ObterPorReferencia:function(idRadio,valorParametro,succeededCallback, failedCallback, userContext) {
/// <param name="idRadio" type="String">System.String</param>
/// <param name="valorParametro" 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(), 'ObterPorReferencia',false,{idRadio:idRadio,valorParametro:valorParametro},succeededCallback,failedCallback,userContext); },
ObterCanalPorReferencia:function(idRadio,valorParametro,succeededCallback, failedCallback, userContext) {
/// <param name="idRadio" type="String">System.String</param>
/// <param name="valorParametro" 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(), 'ObterCanalPorReferencia',false,{idRadio:idRadio,valorParametro:valorParametro},succeededCallback,failedCallback,userContext); },
ObterCanal:function(idCanal,succeededCallback, failedCallback, userContext) {
/// <param name="idCanal" 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(), 'ObterCanal',false,{idCanal:idCanal},succeededCallback,failedCallback,userContext); }}
aorta.playmeweb.webcontrols.services.Player.registerClass('aorta.playmeweb.webcontrols.services.Player',Sys.Net.WebServiceProxy);
aorta.playmeweb.webcontrols.services.Player._staticInstance = new aorta.playmeweb.webcontrols.services.Player();
aorta.playmeweb.webcontrols.services.Player.set_path = function(value) {
aorta.playmeweb.webcontrols.services.Player._staticInstance.set_path(value); }
aorta.playmeweb.webcontrols.services.Player.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return aorta.playmeweb.webcontrols.services.Player._staticInstance.get_path();}
aorta.playmeweb.webcontrols.services.Player.set_timeout = function(value) {
aorta.playmeweb.webcontrols.services.Player._staticInstance.set_timeout(value); }
aorta.playmeweb.webcontrols.services.Player.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return aorta.playmeweb.webcontrols.services.Player._staticInstance.get_timeout(); }
aorta.playmeweb.webcontrols.services.Player.set_defaultUserContext = function(value) { 
aorta.playmeweb.webcontrols.services.Player._staticInstance.set_defaultUserContext(value); }
aorta.playmeweb.webcontrols.services.Player.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return aorta.playmeweb.webcontrols.services.Player._staticInstance.get_defaultUserContext(); }
aorta.playmeweb.webcontrols.services.Player.set_defaultSucceededCallback = function(value) { 
 aorta.playmeweb.webcontrols.services.Player._staticInstance.set_defaultSucceededCallback(value); }
aorta.playmeweb.webcontrols.services.Player.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return aorta.playmeweb.webcontrols.services.Player._staticInstance.get_defaultSucceededCallback(); }
aorta.playmeweb.webcontrols.services.Player.set_defaultFailedCallback = function(value) { 
aorta.playmeweb.webcontrols.services.Player._staticInstance.set_defaultFailedCallback(value); }
aorta.playmeweb.webcontrols.services.Player.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return aorta.playmeweb.webcontrols.services.Player._staticInstance.get_defaultFailedCallback(); }
aorta.playmeweb.webcontrols.services.Player.set_path("/App_Services/Player.asmx");
aorta.playmeweb.webcontrols.services.Player.ObterUrlStream= function(idCanal,tipoPlayer,onSuccess,onFailed,userContext) {
/// <param name="idCanal" type="String">System.String</param>
/// <param name="tipoPlayer" type="aorta.playmeweb.webcontrols.TipoPlayer">aorta.playmeweb.webcontrols.TipoPlayer</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>
aorta.playmeweb.webcontrols.services.Player._staticInstance.ObterUrlStream(idCanal,tipoPlayer,onSuccess,onFailed,userContext); }
aorta.playmeweb.webcontrols.services.Player.ObterUrlStreamB= function(idCanal,onSuccess,onFailed,userContext) {
/// <param name="idCanal" 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>
aorta.playmeweb.webcontrols.services.Player._staticInstance.ObterUrlStreamB(idCanal,onSuccess,onFailed,userContext); }
aorta.playmeweb.webcontrols.services.Player.ObterUrlStreamEspecifica= function(idCliente,idCanal,codigoParametroUrlStream,onSuccess,onFailed,userContext) {
/// <param name="idCliente" type="String">System.String</param>
/// <param name="idCanal" type="String">System.String</param>
/// <param name="codigoParametroUrlStream" 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>
aorta.playmeweb.webcontrols.services.Player._staticInstance.ObterUrlStreamEspecifica(idCliente,idCanal,codigoParametroUrlStream,onSuccess,onFailed,userContext); }
aorta.playmeweb.webcontrols.services.Player.ObterInfoMusica= function(idCanal,onSuccess,onFailed,userContext) {
/// <param name="idCanal" 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>
aorta.playmeweb.webcontrols.services.Player._staticInstance.ObterInfoMusica(idCanal,onSuccess,onFailed,userContext); }
aorta.playmeweb.webcontrols.services.Player.GravarLogAcesso= function(ip,idCanal,browserEVersao,so,onSuccess,onFailed,userContext) {
/// <param name="ip" type="String">System.String</param>
/// <param name="idCanal" type="String">System.String</param>
/// <param name="browserEVersao" type="String">System.String</param>
/// <param name="so" 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>
aorta.playmeweb.webcontrols.services.Player._staticInstance.GravarLogAcesso(ip,idCanal,browserEVersao,so,onSuccess,onFailed,userContext); }
aorta.playmeweb.webcontrols.services.Player.RegistrarSaida= function(logAcesso,onSuccess,onFailed,userContext) {
/// <param name="logAcesso" 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>
aorta.playmeweb.webcontrols.services.Player._staticInstance.RegistrarSaida(logAcesso,onSuccess,onFailed,userContext); }
aorta.playmeweb.webcontrols.services.Player.ObterPorReferencia= function(idRadio,valorParametro,onSuccess,onFailed,userContext) {
/// <param name="idRadio" type="String">System.String</param>
/// <param name="valorParametro" 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>
aorta.playmeweb.webcontrols.services.Player._staticInstance.ObterPorReferencia(idRadio,valorParametro,onSuccess,onFailed,userContext); }
aorta.playmeweb.webcontrols.services.Player.ObterCanalPorReferencia= function(idRadio,valorParametro,onSuccess,onFailed,userContext) {
/// <param name="idRadio" type="String">System.String</param>
/// <param name="valorParametro" 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>
aorta.playmeweb.webcontrols.services.Player._staticInstance.ObterCanalPorReferencia(idRadio,valorParametro,onSuccess,onFailed,userContext); }
aorta.playmeweb.webcontrols.services.Player.ObterCanal= function(idCanal,onSuccess,onFailed,userContext) {
/// <param name="idCanal" 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>
aorta.playmeweb.webcontrols.services.Player._staticInstance.ObterCanal(idCanal,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('aorta.playmeweb.webcontrols.wsMusica');
if (typeof(aorta.playmeweb.webcontrols.wsMusica.Musica) === 'undefined') {
aorta.playmeweb.webcontrols.wsMusica.Musica=gtc("aorta.playmeweb.webcontrols.wsMusica.Musica");
aorta.playmeweb.webcontrols.wsMusica.Musica.registerClass('aorta.playmeweb.webcontrols.wsMusica.Musica');
}
Type.registerNamespace('aorta.playmeweb.webcontrols.wsCanal');
if (typeof(aorta.playmeweb.webcontrols.wsCanal.Canal) === 'undefined') {
aorta.playmeweb.webcontrols.wsCanal.Canal=gtc("aorta.playmeweb.webcontrols.wsCanal.Canal");
aorta.playmeweb.webcontrols.wsCanal.Canal.registerClass('aorta.playmeweb.webcontrols.wsCanal.Canal');
}
Type.registerNamespace('aorta.playmeweb.webcontrols');
if (typeof(aorta.playmeweb.webcontrols.TipoPlayer) === 'undefined') {
aorta.playmeweb.webcontrols.TipoPlayer = function() { throw Error.invalidOperation(); }
aorta.playmeweb.webcontrols.TipoPlayer.prototype = {FlashPlayer: 0,WindowsMediaPlayer: 1}
aorta.playmeweb.webcontrols.TipoPlayer.registerEnum('aorta.playmeweb.webcontrols.TipoPlayer', true);
}
