Type.registerNamespace('aphrodite.fr');
aphrodite.fr.IMService=function() {
aphrodite.fr.IMService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
aphrodite.fr.IMService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return aphrodite.fr.IMService._staticInstance.get_path();},
InitRoom:function(roomId,userIdDest,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InitRoom',false,{roomId:roomId,userIdDest:userIdDest},succeededCallback,failedCallback,userContext); },
InitRoomSalon:function(roomId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InitRoomSalon',false,{roomId:roomId},succeededCallback,failedCallback,userContext); },
InitRoomSalonVisitor:function(roomId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InitRoomSalonVisitor',false,{roomId:roomId},succeededCallback,failedCallback,userContext); },
SendMessage:function(roomId,idUserDest,message,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendMessage',false,{roomId:roomId,idUserDest:idUserDest,message:message},succeededCallback,failedCallback,userContext); },
SendMessageSalon:function(roomId,message,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SendMessageSalon',false,{roomId:roomId,message:message},succeededCallback,failedCallback,userContext); },
GetMessages:function(roomId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMessages',false,{roomId:roomId},succeededCallback,failedCallback,userContext); },
GetMessagesSalon:function(roomId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetMessagesSalon',false,{roomId:roomId},succeededCallback,failedCallback,userContext); },
GetAllMessages:function(roomId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAllMessages',false,{roomId:roomId},succeededCallback,failedCallback,userContext); },
GetConversations:function(pRoomId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetConversations',false,{pRoomId:pRoomId},succeededCallback,failedCallback,userContext); },
GetChatters:function(pRoomId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetChatters',false,{pRoomId:pRoomId},succeededCallback,failedCallback,userContext); },
BanUserSalon:function(id_user,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'BanUserSalon',false,{id_user:id_user},succeededCallback,failedCallback,userContext); },
LogOffSalon:function(pUserId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LogOffSalon',false,{pUserId:pUserId},succeededCallback,failedCallback,userContext); },
CanAccess:function(pUserId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CanAccess',false,{pUserId:pUserId},succeededCallback,failedCallback,userContext); },
LogInSalon:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LogInSalon',false,{},succeededCallback,failedCallback,userContext); },
LogInSalonVisitor:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LogInSalonVisitor',false,{},succeededCallback,failedCallback,userContext); },
GetTotalMessages:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetTotalMessages',false,{},succeededCallback,failedCallback,userContext); },
GetNewRooms:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNewRooms',false,{},succeededCallback,failedCallback,userContext); },
GetNewInfos:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetNewInfos',false,{},succeededCallback,failedCallback,userContext); },
ClearNewRooms:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ClearNewRooms',false,{},succeededCallback,failedCallback,userContext); },
GetCourrier:function(id_courrier,folder,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCourrier',false,{id_courrier:id_courrier,folder:folder},succeededCallback,failedCallback,userContext); },
DeleteCourrier:function(id_courrier,folder,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteCourrier',false,{id_courrier:id_courrier,folder:folder},succeededCallback,failedCallback,userContext); },
DeleteCourriers:function(id_courrier,folder,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteCourriers',false,{id_courrier:id_courrier,folder:folder},succeededCallback,failedCallback,userContext); },
ExpandSideBar:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ExpandSideBar',false,{},succeededCallback,failedCallback,userContext); },
UpdateLastSeen:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateLastSeen',false,{},succeededCallback,failedCallback,userContext); }}
aphrodite.fr.IMService.registerClass('aphrodite.fr.IMService',Sys.Net.WebServiceProxy);
aphrodite.fr.IMService._staticInstance = new aphrodite.fr.IMService();
aphrodite.fr.IMService.set_path = function(value) { aphrodite.fr.IMService._staticInstance.set_path(value); }
aphrodite.fr.IMService.get_path = function() { return aphrodite.fr.IMService._staticInstance.get_path(); }
aphrodite.fr.IMService.set_timeout = function(value) { aphrodite.fr.IMService._staticInstance.set_timeout(value); }
aphrodite.fr.IMService.get_timeout = function() { return aphrodite.fr.IMService._staticInstance.get_timeout(); }
aphrodite.fr.IMService.set_defaultUserContext = function(value) { aphrodite.fr.IMService._staticInstance.set_defaultUserContext(value); }
aphrodite.fr.IMService.get_defaultUserContext = function() { return aphrodite.fr.IMService._staticInstance.get_defaultUserContext(); }
aphrodite.fr.IMService.set_defaultSucceededCallback = function(value) { aphrodite.fr.IMService._staticInstance.set_defaultSucceededCallback(value); }
aphrodite.fr.IMService.get_defaultSucceededCallback = function() { return aphrodite.fr.IMService._staticInstance.get_defaultSucceededCallback(); }
aphrodite.fr.IMService.set_defaultFailedCallback = function(value) { aphrodite.fr.IMService._staticInstance.set_defaultFailedCallback(value); }
aphrodite.fr.IMService.get_defaultFailedCallback = function() { return aphrodite.fr.IMService._staticInstance.get_defaultFailedCallback(); }
aphrodite.fr.IMService.set_path("/IMService.asmx");
aphrodite.fr.IMService.InitRoom= function(roomId,userIdDest,onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.InitRoom(roomId,userIdDest,onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.InitRoomSalon= function(roomId,onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.InitRoomSalon(roomId,onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.InitRoomSalonVisitor= function(roomId,onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.InitRoomSalonVisitor(roomId,onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.SendMessage= function(roomId,idUserDest,message,onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.SendMessage(roomId,idUserDest,message,onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.SendMessageSalon= function(roomId,message,onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.SendMessageSalon(roomId,message,onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.GetMessages= function(roomId,onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.GetMessages(roomId,onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.GetMessagesSalon= function(roomId,onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.GetMessagesSalon(roomId,onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.GetAllMessages= function(roomId,onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.GetAllMessages(roomId,onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.GetConversations= function(pRoomId,onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.GetConversations(pRoomId,onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.GetChatters= function(pRoomId,onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.GetChatters(pRoomId,onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.BanUserSalon= function(id_user,onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.BanUserSalon(id_user,onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.LogOffSalon= function(pUserId,onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.LogOffSalon(pUserId,onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.CanAccess= function(pUserId,onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.CanAccess(pUserId,onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.LogInSalon= function(onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.LogInSalon(onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.LogInSalonVisitor= function(onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.LogInSalonVisitor(onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.GetTotalMessages= function(onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.GetTotalMessages(onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.GetNewRooms= function(onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.GetNewRooms(onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.GetNewInfos= function(onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.GetNewInfos(onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.ClearNewRooms= function(onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.ClearNewRooms(onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.GetCourrier= function(id_courrier,folder,onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.GetCourrier(id_courrier,folder,onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.DeleteCourrier= function(id_courrier,folder,onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.DeleteCourrier(id_courrier,folder,onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.DeleteCourriers= function(id_courrier,folder,onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.DeleteCourriers(id_courrier,folder,onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.ExpandSideBar= function(onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.ExpandSideBar(onSuccess,onFailed,userContext); }
aphrodite.fr.IMService.UpdateLastSeen= function(onSuccess,onFailed,userContext) {aphrodite.fr.IMService._staticInstance.UpdateLastSeen(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(aphrodite.fr.CourrierObject) === 'undefined') {
aphrodite.fr.CourrierObject=gtc("aphrodite.fr.CourrierObject");
aphrodite.fr.CourrierObject.registerClass('aphrodite.fr.CourrierObject');
}
