Inheritance: ScsMessage, IComparable
Exemple #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);
            }
        }
Exemple #2
0
 public int CompareTo(ScsRawDataMessage other)
 {
     return Priority.CompareTo(other.Priority);
 }
Exemple #3
0
 public int CompareTo(ScsRawDataMessage other)
 {
     return(Priority.CompareTo(other.Priority));
 }