Beispiel #1
0
 private void RaiseSendX10Result(X10EventArgs e)
 {
     //do not confuse our consumer by calling out to it using multiple threads at the same time
     lock (syncEventOut)
         if (SendX10Result != null)
         {
             try
             {
                 SendX10Result(this, e);
             }
             catch { }
         }
 }
Beispiel #2
0
 private void RaiseReceivedX10(X10EventArgs e)
 {
     //do not confuse our consumer by calling out to it using multiple threads at the same time
     lock (syncEventOut)
         if (ReceivedX10 != null)
         {
             try
             {
                 ReceivedX10(this, e);
             }
             catch { }
         }
 }
Beispiel #3
0
 private void RaiseSendX10Result(X10EventArgs e)
 {
     //do not confuse our consumer by calling out to it using multiple threads at the same time
     lock(syncEventOut)
         if (SendX10Result != null)
             try
             {
                 SendX10Result(this, e);
             }
             catch { }
 }
Beispiel #4
0
 private void RaiseReceivedX10(X10EventArgs e)
 {
     //do not confuse our consumer by calling out to it using multiple threads at the same time
     lock(syncEventOut)
         if (ReceivedX10 != null)
             try
             {
                 ReceivedX10(this, e);
             }
             catch { }
 }