Exemple #1
0
 public ServerNotifyMessage(NotifyMessage msg)
     : this()
 {
     this.AppID = msg.AppID;
     this.UserID = msg.UserID;
     this.LoginName = msg.LoginName;
     this.Message = msg.Message;
     this.Param = msg.Param;
     this.Title = msg.Title;
     this.MsgType = msg.MsgType;
 }
Exemple #2
0
 public ServerNotifyMessage(NotifyMessage msg)
     : this()
 {
     this.AppID     = msg.AppID;
     this.UserID    = msg.UserID;
     this.LoginName = msg.LoginName;
     this.Message   = msg.Message;
     this.Param     = msg.Param;
     this.Title     = msg.Title;
     this.MsgType   = msg.MsgType;
 }
Exemple #3
0
        public void ReceiveMsg(NotifyMessage[] msgs)
        {
            if (msgs != null)
            {
                foreach (var notifyMessage in msgs)
                {
                    //File.AppendAllText(AppDomain.CurrentDomain.BaseDirectory + "/ReceiveMsg.log", string.Format("{0}{1}", notifyMessage, Environment.NewLine));
                    manager.ExcuteNonQuery("sqliteTemplate", "Service.ReceiveMsg", new ServerNotifyMessage(notifyMessage));
                }
            }

            return;
        }