Exemplo n.º 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 { }
         }
 }
Exemplo n.º 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 { }
         }
 }
Exemplo n.º 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 { }
 }
Exemplo n.º 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 { }
 }