Type.registerNamespace('Indev.Protrace.Web');
Indev.Protrace.Web.Notification=function() {
Indev.Protrace.Web.Notification.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Indev.Protrace.Web.Notification.prototype={
GetNotifications:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Indev.Protrace.Web.Notification.get_path(), 'GetNotifications',false,{},succeededCallback,failedCallback,userContext); }}
Indev.Protrace.Web.Notification.registerClass('Indev.Protrace.Web.Notification',Sys.Net.WebServiceProxy);
Indev.Protrace.Web.Notification._staticInstance = new Indev.Protrace.Web.Notification();
Indev.Protrace.Web.Notification.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; Indev.Protrace.Web.Notification._staticInstance._path = value; }
Indev.Protrace.Web.Notification.get_path = function() { return Indev.Protrace.Web.Notification._staticInstance._path; }
Indev.Protrace.Web.Notification.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); }
Indev.Protrace.Web.Notification._staticInstance._timeout = value; }
Indev.Protrace.Web.Notification.get_timeout = function() { 
return Indev.Protrace.Web.Notification._staticInstance._timeout; }
Indev.Protrace.Web.Notification.set_defaultUserContext = function(value) { 
Indev.Protrace.Web.Notification._staticInstance._userContext = value; }
Indev.Protrace.Web.Notification.get_defaultUserContext = function() { 
return Indev.Protrace.Web.Notification._staticInstance._userContext; }
Indev.Protrace.Web.Notification.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; Indev.Protrace.Web.Notification._staticInstance._succeeded = value; }
Indev.Protrace.Web.Notification.get_defaultSucceededCallback = function() { 
return Indev.Protrace.Web.Notification._staticInstance._succeeded; }
Indev.Protrace.Web.Notification.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; Indev.Protrace.Web.Notification._staticInstance._failed = value; }
Indev.Protrace.Web.Notification.get_defaultFailedCallback = function() { 
return Indev.Protrace.Web.Notification._staticInstance._failed; }
Indev.Protrace.Web.Notification.set_path("/Notification.asmx");
Indev.Protrace.Web.Notification.GetNotifications= function(onSuccess,onFailed,userContext) {Indev.Protrace.Web.Notification._staticInstance.GetNotifications(onSuccess,onFailed,userContext); }
