@Override public void cancel(SendPacket packet){
synchronized (mQueue) {
    mQueue.remove(packet);
  }
}

@ Override public void cancel ( SendPacket packet ) { synchronized ( mQueue ) { mQueue . remove ( packet ) ; } }
delete a packet from queue to cancel
