src/net/java/sip/communicator/impl/protocol/sip/OperationSetDesktopSharingServerSipImpl.java
/**
     * Enable desktop remote control. Local desktop can now regenerates keyboard
     * and mouse events received from peer.
     *
     * @param callPeer call peer that will take control on local computer
     */
Enable desktop remote control. Local desktop can now regenerates keyboard
and mouse events received from peer.

@param callPeer call peer that will take control on local computer
Enable desktop remote control . Local desktop can now regenerates keyboard and mouse events received from peer . @param callPeer call peer that will take control on local computer
public void enableRemoteControl(CallPeer callPeer)
    {
        RemoteControlSubscriberSubscription subscription
            = new RemoteControlSubscriberSubscription(
                    (CallPeerSipImpl) callPeer);
        try
        {
            subscriber.subscribe(subscription);
        }
        catch (OperationFailedException ofe)
        {
            logger.error(
                    "Failed to create or send a remote-control subscription",
                    ofe);
        }
    }
public void enableRemoteControl ( CallPeer callPeer ) { RemoteControlSubscriberSubscription subscription = new RemoteControlSubscriberSubscription ( ( CallPeerSipImpl ) callPeer ) ; try { subscriber . subscribe ( subscription ) ; } catch ( OperationFailedException ofe ) { logger . error ( "Failed to create or send a remote-control subscription" , ofe ) ; } }
Enable desktop remote control.
Enable desktop remote control .