src/net/java/sip/communicator/service/protocol/AbstractCallPeer.java
/**
     * Constructs a <tt>CallPeerSecurityStatusEvent</tt> using this call peer as
     * source, setting it to be of type <tt>eventType</tt> and the corresponding
     * <tt>oldValue</tt> and <tt>newValue</tt>.
     *
     * @param evt the event object with details to pass on to the consumers
     */
Constructs a CallPeerSecurityStatusEvent using this call peer as
source, setting it to be of type eventType and the corresponding
oldValue and newValue.

@param evt the event object with details to pass on to the consumers
Constructs a CallPeerSecurityStatusEvent using this call peer as source setting it to be of type eventType and the corresponding oldValue and newValue . @param evt the event object with details to pass on to the consumers
protected void fireCallPeerSecurityOffEvent(CallPeerSecurityOffEvent evt)
    {
        lastSecurityEvent = evt;
        if (logger.isDebugEnabled())
            logger.debug(
            "Dispatching a CallPeerSecurityAuthenticationEvent event to "
                     + callPeerSecurityListeners.size()
                     +" listeners. event is: " + evt.toString());
        List<CallPeerSecurityListener> listeners = null;
        synchronized (callPeerSecurityListeners)
        {
            listeners = new ArrayList<CallPeerSecurityListener>(
                                callPeerSecurityListeners);
        }
        for(CallPeerSecurityListener listener : listeners)
        {
            listener.securityOff(evt);
        }
    }
protected void fireCallPeerSecurityOffEvent ( CallPeerSecurityOffEvent evt ) { lastSecurityEvent = evt ; if ( logger . isDebugEnabled ( ) ) logger . debug ( "Dispatching a CallPeerSecurityAuthenticationEvent event to " + callPeerSecurityListeners . size ( ) + " listeners. event is: " + evt . toString ( ) ) ; List < CallPeerSecurityListener > listeners = null ; synchronized ( callPeerSecurityListeners ) { listeners = new ArrayList < CallPeerSecurityListener > ( callPeerSecurityListeners ) ; } for ( CallPeerSecurityListener listener : listeners ) { listener . securityOff ( evt ) ; } }
Constructs a <tt>CallPeerSecurityStatusEvent</tt> using this call peer as
 source, setting it to be of type <tt>eventType</tt> and the corresponding
 <tt>oldValue</tt> and <tt>newValue</tt>.
Constructs a <tt > CallPeerSecurityStatusEvent< / tt > using this call peer as source setting it to be of type <tt > eventType< / tt > and the corresponding <tt > oldValue< / tt > and <tt > newValue< / tt > .