public void reset(){
synchronized (this) {
    queue.clear();
    setBridgeMode(-1);
  }
}

public void reset ( ) { synchronized ( this ) { queue . clear ( ) ; setBridgeMode ( - 1 ) ; } }
clears all messages and resets to the default bridge mode .
