src/net/java/sip/communicator/impl/protocol/jabber/OperationSetDesktopSharingServerJabberImpl.java
/**
         * Indicates that a change has occurred in the status of the source
         * <tt>CallPeer</tt>.
         *
         * @param evt the <tt>CallPeerChangeEvent</tt> instance containing the
         * source event as well as its previous and its new status
         */
Indicates that a change has occurred in the status of the source
CallPeer.

@param evt the CallPeerChangeEvent instance containing the
source event as well as its previous and its new status
Indicates that a change has occurred in the status of the source CallPeer . @param evt the CallPeerChangeEvent instance containing the source event as well as its previous and its new status
@Override
        public void peerStateChanged(CallPeerChangeEvent evt)
        {
            CallPeer peer = evt.getSourceCallPeer();
            CallPeerState state = peer.getState();
            if (state != null
                    && (state.equals(CallPeerState.DISCONNECTED)
                        || state.equals(CallPeerState.FAILED)))
            {
                disableRemoteControl(peer);
            }
        }
@ Override public void peerStateChanged ( CallPeerChangeEvent evt ) { CallPeer peer = evt . getSourceCallPeer ( ) ; CallPeerState state = peer . getState ( ) ; if ( state != null && ( state . equals ( CallPeerState . DISCONNECTED ) || state . equals ( CallPeerState . FAILED ) ) ) { disableRemoteControl ( peer ) ; } }
Indicates that a change has occurred in the status of the source
 <tt>CallPeer</tt>.
Indicates that a change has occurred in the status of the source <tt > CallPeer< / tt > .