예제 #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 { }
         }
 }
예제 #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 { }
         }
 }
예제 #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 { }
 }
예제 #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 { }
 }