Type.registerNamespace('PIAGWeb');
PIAGWeb.Chat=function() {
PIAGWeb.Chat.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PIAGWeb.Chat.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return PIAGWeb.Chat._staticInstance.get_path();},
PostItem:function(Chat,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostItem',false,{Chat:Chat},succeededCallback,failedCallback,userContext); },
GetResponse:function(Ident,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetResponse',false,{Ident:Ident},succeededCallback,failedCallback,userContext); },
CheckForNewChatrooms:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckForNewChatrooms',false,{},succeededCallback,failedCallback,userContext); }}
PIAGWeb.Chat.registerClass('PIAGWeb.Chat',Sys.Net.WebServiceProxy);
PIAGWeb.Chat._staticInstance = new PIAGWeb.Chat();
PIAGWeb.Chat.set_path = function(value) { PIAGWeb.Chat._staticInstance.set_path(value); }
PIAGWeb.Chat.get_path = function() { return PIAGWeb.Chat._staticInstance.get_path(); }
PIAGWeb.Chat.set_timeout = function(value) { PIAGWeb.Chat._staticInstance.set_timeout(value); }
PIAGWeb.Chat.get_timeout = function() { return PIAGWeb.Chat._staticInstance.get_timeout(); }
PIAGWeb.Chat.set_defaultUserContext = function(value) { PIAGWeb.Chat._staticInstance.set_defaultUserContext(value); }
PIAGWeb.Chat.get_defaultUserContext = function() { return PIAGWeb.Chat._staticInstance.get_defaultUserContext(); }
PIAGWeb.Chat.set_defaultSucceededCallback = function(value) { PIAGWeb.Chat._staticInstance.set_defaultSucceededCallback(value); }
PIAGWeb.Chat.get_defaultSucceededCallback = function() { return PIAGWeb.Chat._staticInstance.get_defaultSucceededCallback(); }
PIAGWeb.Chat.set_defaultFailedCallback = function(value) { PIAGWeb.Chat._staticInstance.set_defaultFailedCallback(value); }
PIAGWeb.Chat.get_defaultFailedCallback = function() { return PIAGWeb.Chat._staticInstance.get_defaultFailedCallback(); }
PIAGWeb.Chat.set_path("/Chat.asmx");
PIAGWeb.Chat.PostItem= function(Chat,onSuccess,onFailed,userContext) {PIAGWeb.Chat._staticInstance.PostItem(Chat,onSuccess,onFailed,userContext); }
PIAGWeb.Chat.GetResponse= function(Ident,onSuccess,onFailed,userContext) {PIAGWeb.Chat._staticInstance.GetResponse(Ident,onSuccess,onFailed,userContext); }
PIAGWeb.Chat.CheckForNewChatrooms= function(onSuccess,onFailed,userContext) {PIAGWeb.Chat._staticInstance.CheckForNewChatrooms(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(PIAGWeb.T_Chat) === 'undefined') {
PIAGWeb.T_Chat=gtc("PIAGWeb.T_Chat");
PIAGWeb.T_Chat.registerClass('PIAGWeb.T_Chat');
}
if (typeof(PIAGWeb.ChatIdent) === 'undefined') {
PIAGWeb.ChatIdent=gtc("PIAGWeb.ChatIdent");
PIAGWeb.ChatIdent.registerClass('PIAGWeb.ChatIdent');
}

