public void RoutePacket(int nodeId, INodePacket packet)
 {
     _dataReceivedContext = new DataReceivedContext(Thread.CurrentThread, packet);
     _dataReceivedEvent.Set();
 }
 public void RoutePacket(int nodeId, INodePacket packet)
 {
     _dataReceivedContext = new DataReceivedContext(Thread.CurrentThread, packet);
     _dataReceivedEvent.Set();
 }