Type.registerNamespace('Chat');
Chat.ChatService=function() {
Chat.ChatService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Chat.ChatService.prototype={
GetLiveMentorImage:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Chat.ChatService.get_path(), 'GetLiveMentorImage',false,{},succeededCallback,failedCallback,userContext); },
SetLiveMentorAvailability:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Chat.ChatService.get_path(), 'SetLiveMentorAvailability',false,{},succeededCallback,failedCallback,userContext); },
LmChat:function(sessionId,msg,chatting,succeededCallback, failedCallback, userContext) {
return this._invoke(Chat.ChatService.get_path(), 'LmChat',false,{sessionId:sessionId,msg:msg,chatting:chatting},succeededCallback,failedCallback,userContext); }}
Chat.ChatService.registerClass('Chat.ChatService',Sys.Net.WebServiceProxy);
Chat.ChatService._staticInstance = new Chat.ChatService();
Chat.ChatService.set_path = function(value) { Chat.ChatService._staticInstance._path = value; }
Chat.ChatService.get_path = function() { return Chat.ChatService._staticInstance._path; }
Chat.ChatService.set_timeout = function(value) { Chat.ChatService._staticInstance._timeout = value; }
Chat.ChatService.get_timeout = function() { return Chat.ChatService._staticInstance._timeout; }
Chat.ChatService.set_defaultUserContext = function(value) { Chat.ChatService._staticInstance._userContext = value; }
Chat.ChatService.get_defaultUserContext = function() { return Chat.ChatService._staticInstance._userContext; }
Chat.ChatService.set_defaultSucceededCallback = function(value) { Chat.ChatService._staticInstance._succeeded = value; }
Chat.ChatService.get_defaultSucceededCallback = function() { return Chat.ChatService._staticInstance._succeeded; }
Chat.ChatService.set_defaultFailedCallback = function(value) { Chat.ChatService._staticInstance._failed = value; }
Chat.ChatService.get_defaultFailedCallback = function() { return Chat.ChatService._staticInstance._failed; }
Chat.ChatService.set_path("/Chat/ChatService.asmx");
Chat.ChatService.GetLiveMentorImage= function(onSuccess,onFailed,userContext) {Chat.ChatService._staticInstance.GetLiveMentorImage(onSuccess,onFailed,userContext); }
Chat.ChatService.SetLiveMentorAvailability= function(onSuccess,onFailed,userContext) {Chat.ChatService._staticInstance.SetLiveMentorAvailability(onSuccess,onFailed,userContext); }
Chat.ChatService.LmChat= function(sessionId,msg,chatting,onSuccess,onFailed,userContext) {Chat.ChatService._staticInstance.LmChat(sessionId,msg,chatting,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Chat.LmResponse) === 'undefined') {
Chat.LmResponse=gtc("Chat.LmResponse");
Chat.LmResponse.registerClass('Chat.LmResponse');
}
