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