var RssLoaderService=function() {
RssLoaderService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RssLoaderService.prototype={
FetchRss:function(url,count,succeededCallback, failedCallback, userContext) {
return this._invoke(RssLoaderService.get_path(), 'FetchRss',false,{url:url,count:count},succeededCallback,failedCallback,userContext); },
FetchTweets:function(url,count,succeededCallback, failedCallback, userContext) {
return this._invoke(RssLoaderService.get_path(), 'FetchTweets',false,{url:url,count:count},succeededCallback,failedCallback,userContext); },
FetchTweets2:function(url,count,succeededCallback, failedCallback, userContext) {
return this._invoke(RssLoaderService.get_path(), 'FetchTweets2',false,{url:url,count:count},succeededCallback,failedCallback,userContext); }}
RssLoaderService.registerClass('RssLoaderService',Sys.Net.WebServiceProxy);
RssLoaderService._staticInstance = new RssLoaderService();
RssLoaderService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; RssLoaderService._staticInstance._path = value; }
RssLoaderService.get_path = function() { return RssLoaderService._staticInstance._path; }
RssLoaderService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
RssLoaderService._staticInstance._timeout = value; }
RssLoaderService.get_timeout = function() { 
return RssLoaderService._staticInstance._timeout; }
RssLoaderService.set_defaultUserContext = function(value) { 
RssLoaderService._staticInstance._userContext = value; }
RssLoaderService.get_defaultUserContext = function() { 
return RssLoaderService._staticInstance._userContext; }
RssLoaderService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; RssLoaderService._staticInstance._succeeded = value; }
RssLoaderService.get_defaultSucceededCallback = function() { 
return RssLoaderService._staticInstance._succeeded; }
RssLoaderService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; RssLoaderService._staticInstance._failed = value; }
RssLoaderService.get_defaultFailedCallback = function() { 
return RssLoaderService._staticInstance._failed; }
RssLoaderService.set_path("/RssLoaderService.asmx");
RssLoaderService.FetchRss= function(url,count,onSuccess,onFailed,userContext) {RssLoaderService._staticInstance.FetchRss(url,count,onSuccess,onFailed,userContext); }
RssLoaderService.FetchTweets= function(url,count,onSuccess,onFailed,userContext) {RssLoaderService._staticInstance.FetchTweets(url,count,onSuccess,onFailed,userContext); }
RssLoaderService.FetchTweets2= function(url,count,onSuccess,onFailed,userContext) {RssLoaderService._staticInstance.FetchTweets2(url,count,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(tweet) === 'undefined') {
var tweet=gtc("tweet");
tweet.registerClass('tweet');
}
