Inheritance: ScsMessage, IComparable
示例#1
0
        public void SendPacket(string packet, byte priority = 10)
        {
            if (!IsDisposing)
            {
                ScsRawDataMessage rawMessage = new ScsRawDataMessage(_encryptor.Encrypt(packet));

                // Logger.Debug(packet, -1);
                SendMessage(rawMessage, priority);
            }
        }
示例#2
0
 public int CompareTo(ScsRawDataMessage other)
 {
     return Priority.CompareTo(other.Priority);
 }
示例#3
0
 public int CompareTo(ScsRawDataMessage other)
 {
     return(Priority.CompareTo(other.Priority));
 }