Example #1
0
 private void onEvent(CONN_EVENT obj, Exception e)
 {
     Log(obj.ToString() + e);
     if (obj == CONN_EVENT.TRANSMISSION_ERR)
     {
         Log("reconn");
         Thread th = new Thread(() => c.Connect());
         th.Start();
     }
 }
Example #2
0
 void OnEvent(CONN_EVENT connEvent, Exception e)
 {
     onEvent(connEvent, e);
 }