src/net/java/sip/communicator/service/protocol/AbstractOperationSetBasicInstantMessaging.java
/**
     * Unregisters <tt>listener</tt> so that it won't receive any further
     * notifications upon successful message delivery, failure or reception of
     * incoming messages..
     *
     * @param listener the <tt>MessageListener</tt> to unregister.
     */
Unregisters listener so that it won't receive any further
notifications upon successful message delivery, failure or reception of
incoming messages

@param listener the MessageListener to unregister.
Unregisters listener so that it won ' t receive any further notifications upon successful message delivery failure or reception of incoming messages @param listener the MessageListener to unregister .
public void removeMessageListener(MessageListener listener)
    {
        synchronized (messageListeners)
        {
            messageListeners.remove(listener);
        }
    }
public void removeMessageListener ( MessageListener listener ) { synchronized ( messageListeners ) { messageListeners . remove ( listener ) ; } }
Unregisters <tt>listener</tt> so that it won't receive any further
 notifications upon successful message delivery, failure or reception of
 incoming messages..
Unregisters <tt > listener< / tt > so that it won ' t receive any further notifications upon successful message delivery failure or reception of incoming messages ..