src/net/java/sip/communicator/impl/protocol/jabber/OperationSetDesktopSharingClientJabberImpl.java
/**
     * Handles incoming inputevt packets and passes them to the corresponding
     * method based on their action.
     * @param iqRequest the event to process.
     * @return IQ response
     */
Handles incoming inputevt packets and passes them to the corresponding
method based on their action.
@param iqRequest the event to process.
@return IQ response
Handles incoming inputevt packets and passes them to the corresponding method based on their action . @param iqRequest the event to process . @return IQ response
@Override
    public IQ handleIQRequest(IQ iqRequest)
    {
        InputEvtIQ inputIQ = (InputEvtIQ)iqRequest;
        if(inputIQ.getAction() != InputEvtAction.NOTIFY)
        {
            Jid callPeerID = inputIQ.getFrom();
            if(callPeerID != null)
            {
                CallPeer callPeer = getListenerCallPeer(callPeerID);
                if(callPeer != null)
                {
                    if(inputIQ.getAction() == InputEvtAction.START)
                    {
                        fireRemoteControlGranted(callPeer);
                    }
                    else if(inputIQ.getAction() == InputEvtAction.STOP)
                    {
                        fireRemoteControlRevoked(callPeer);
                    }
                }
                else
                {
                    addAddDeferredRemoteControlPeer(callPeerID.toString());
                }
            }
        }
        return IQ.createResultIQ(inputIQ);
    }
@ Override public IQ handleIQRequest ( IQ iqRequest ) { InputEvtIQ inputIQ = ( InputEvtIQ ) iqRequest ; if ( inputIQ . getAction ( ) != InputEvtAction . NOTIFY ) { Jid callPeerID = inputIQ . getFrom ( ) ; if ( callPeerID != null ) { CallPeer callPeer = getListenerCallPeer ( callPeerID ) ; if ( callPeer != null ) { if ( inputIQ . getAction ( ) == InputEvtAction . START ) { fireRemoteControlGranted ( callPeer ) ; } else if ( inputIQ . getAction ( ) == InputEvtAction . STOP ) { fireRemoteControlRevoked ( callPeer ) ; } } else { addAddDeferredRemoteControlPeer ( callPeerID . toString ( ) ) ; } } } return IQ . createResultIQ ( inputIQ ) ; }
Handles incoming inputevt packets and passes them to the corresponding
 method based on their action.
Handles incoming inputevt packets and passes them to the corresponding method based on their action .