Type.registerNamespace('Red2k10');
Red2k10.Messages=function() {
Red2k10.Messages.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Red2k10.Messages.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Red2k10.Messages._staticInstance.get_path();},
HelloWorld: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(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
SendShoutout:function(Name,shoutout,succeededCallback, failedCallback, userContext) {
/// <param name="Name" type="String">System.String</param>
/// <param name="shoutout" 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(), 'SendShoutout',false,{Name:Name,shoutout:shoutout},succeededCallback,failedCallback,userContext); },
GetShoutouts: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(), 'GetShoutouts',false,{},succeededCallback,failedCallback,userContext); },
GetShoutoutHtml: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(), 'GetShoutoutHtml',false,{},succeededCallback,failedCallback,userContext); },
GetShoutoutHtmlWithId:function(id,succeededCallback, failedCallback, userContext) {
/// <param name="id" 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(), 'GetShoutoutHtmlWithId',false,{id:id},succeededCallback,failedCallback,userContext); }}
Red2k10.Messages.registerClass('Red2k10.Messages',Sys.Net.WebServiceProxy);
Red2k10.Messages._staticInstance = new Red2k10.Messages();
Red2k10.Messages.set_path = function(value) {
Red2k10.Messages._staticInstance.set_path(value); }
Red2k10.Messages.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Red2k10.Messages._staticInstance.get_path();}
Red2k10.Messages.set_timeout = function(value) {
Red2k10.Messages._staticInstance.set_timeout(value); }
Red2k10.Messages.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Red2k10.Messages._staticInstance.get_timeout(); }
Red2k10.Messages.set_defaultUserContext = function(value) { 
Red2k10.Messages._staticInstance.set_defaultUserContext(value); }
Red2k10.Messages.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Red2k10.Messages._staticInstance.get_defaultUserContext(); }
Red2k10.Messages.set_defaultSucceededCallback = function(value) { 
 Red2k10.Messages._staticInstance.set_defaultSucceededCallback(value); }
Red2k10.Messages.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Red2k10.Messages._staticInstance.get_defaultSucceededCallback(); }
Red2k10.Messages.set_defaultFailedCallback = function(value) { 
Red2k10.Messages._staticInstance.set_defaultFailedCallback(value); }
Red2k10.Messages.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Red2k10.Messages._staticInstance.get_defaultFailedCallback(); }
Red2k10.Messages.set_path("/Messages.asmx");
Red2k10.Messages.HelloWorld= 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>
Red2k10.Messages._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
Red2k10.Messages.SendShoutout= function(Name,shoutout,onSuccess,onFailed,userContext) {
/// <param name="Name" type="String">System.String</param>
/// <param name="shoutout" 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>
Red2k10.Messages._staticInstance.SendShoutout(Name,shoutout,onSuccess,onFailed,userContext); }
Red2k10.Messages.GetShoutouts= 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>
Red2k10.Messages._staticInstance.GetShoutouts(onSuccess,onFailed,userContext); }
Red2k10.Messages.GetShoutoutHtml= 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>
Red2k10.Messages._staticInstance.GetShoutoutHtml(onSuccess,onFailed,userContext); }
Red2k10.Messages.GetShoutoutHtmlWithId= function(id,onSuccess,onFailed,userContext) {
/// <param name="id" 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>
Red2k10.Messages._staticInstance.GetShoutoutHtmlWithId(id,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('System.Data');
if (typeof(System.Data.DataSet) === 'undefined') {
System.Data.DataSet=gtc("System.Data.DataSet");
System.Data.DataSet.registerClass('System.Data.DataSet');
}
