Example #1
0
 public virtual void OnDisconnected()
 {
     if (mUploadFileHandler != null)
     {
         try
         {
             mUploadFileHandler.OnUploadFileError();
         }
         catch
         {
         }
         mUploadFileHandler = null;
     }
     try
     {
         if (this.GroupName.IsNullOrEmpty() == false)
         {
             if (KeepAliveHandlers.Contains(this))
             {
                 KeepAliveHandlers.Remove(this);
                 RemotingController.MessageReceiverDisconnect(this.Session, this.GroupName);
             }
         }
     }
     catch
     {
     }
 }