protected virtual void processStatusEvents()
 {
     while (statusEventQueue.size() > 0)
     {
         processStatusEvent(statusEventQueue.poll());
     }
 }
 protected virtual void processDataEvents()
 {
     while (dataEventQueue.size() > 0)
     {
         processDataEvent(dataEventQueue.poll());
     }
 }