protected void removeMessageProcessor(MessageProcessor oldMessageProcessor){
synchronized (messageProcessors) {
    if (messageProcessors.remove(oldMessageProcessor)) {
      oldMessageProcessor.stop();
    }
  }
}

protected void removeMessageProcessor ( MessageProcessor oldMessageProcessor ) { synchronized ( messageProcessors ) { if ( messageProcessors . remove ( oldMessageProcessor ) ) { oldMessageProcessor . stop ( ) ; } } }
removes a messageprocessor from this sipstack .
