Type.registerNamespace('Dropthings.Web.Framework');
Dropthings.Web.Framework.ProxyAsync=function() {
Dropthings.Web.Framework.ProxyAsync.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Dropthings.Web.Framework.ProxyAsync.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Dropthings.Web.Framework.ProxyAsync._staticInstance.get_path();},
GetString:function(url,cacheDuration,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetString',true,{url:url,cacheDuration:cacheDuration},succeededCallback,failedCallback,userContext); },
GetXml:function(url,cacheDuration,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetXml',true,{url:url,cacheDuration:cacheDuration},succeededCallback,failedCallback,userContext); },
GetRss:function(url,count,cacheDuration,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRss',true,{url:url,count:count,cacheDuration:cacheDuration},succeededCallback,failedCallback,userContext); }}
Dropthings.Web.Framework.ProxyAsync.registerClass('Dropthings.Web.Framework.ProxyAsync',Sys.Net.WebServiceProxy);
Dropthings.Web.Framework.ProxyAsync._staticInstance = new Dropthings.Web.Framework.ProxyAsync();
Dropthings.Web.Framework.ProxyAsync.set_path = function(value) { Dropthings.Web.Framework.ProxyAsync._staticInstance.set_path(value); }
Dropthings.Web.Framework.ProxyAsync.get_path = function() { return Dropthings.Web.Framework.ProxyAsync._staticInstance.get_path(); }
Dropthings.Web.Framework.ProxyAsync.set_timeout = function(value) { Dropthings.Web.Framework.ProxyAsync._staticInstance.set_timeout(value); }
Dropthings.Web.Framework.ProxyAsync.get_timeout = function() { return Dropthings.Web.Framework.ProxyAsync._staticInstance.get_timeout(); }
Dropthings.Web.Framework.ProxyAsync.set_defaultUserContext = function(value) { Dropthings.Web.Framework.ProxyAsync._staticInstance.set_defaultUserContext(value); }
Dropthings.Web.Framework.ProxyAsync.get_defaultUserContext = function() { return Dropthings.Web.Framework.ProxyAsync._staticInstance.get_defaultUserContext(); }
Dropthings.Web.Framework.ProxyAsync.set_defaultSucceededCallback = function(value) { Dropthings.Web.Framework.ProxyAsync._staticInstance.set_defaultSucceededCallback(value); }
Dropthings.Web.Framework.ProxyAsync.get_defaultSucceededCallback = function() { return Dropthings.Web.Framework.ProxyAsync._staticInstance.get_defaultSucceededCallback(); }
Dropthings.Web.Framework.ProxyAsync.set_defaultFailedCallback = function(value) { Dropthings.Web.Framework.ProxyAsync._staticInstance.set_defaultFailedCallback(value); }
Dropthings.Web.Framework.ProxyAsync.get_defaultFailedCallback = function() { return Dropthings.Web.Framework.ProxyAsync._staticInstance.get_defaultFailedCallback(); }
Dropthings.Web.Framework.ProxyAsync.set_path("/ProxyAsync.asmx");
Dropthings.Web.Framework.ProxyAsync.GetString= function(url,cacheDuration,onSuccess,onFailed,userContext) {Dropthings.Web.Framework.ProxyAsync._staticInstance.GetString(url,cacheDuration,onSuccess,onFailed,userContext); }
Dropthings.Web.Framework.ProxyAsync.GetXml= function(url,cacheDuration,onSuccess,onFailed,userContext) {Dropthings.Web.Framework.ProxyAsync._staticInstance.GetXml(url,cacheDuration,onSuccess,onFailed,userContext); }
Dropthings.Web.Framework.ProxyAsync.GetRss= function(url,count,cacheDuration,onSuccess,onFailed,userContext) {Dropthings.Web.Framework.ProxyAsync._staticInstance.GetRss(url,count,cacheDuration,onSuccess,onFailed,userContext); }
