src/net/java/sip/communicator/impl/protocol/sip/OperationSetDesktopSharingServerSipImpl.java
/**
         * Notifies this <tt>Subscription</tt> that a terminating NOTIFY
         * <tt>Request</tt> has been received and it may process the reason code
         * carried in it.
         *
         * @param requestEvent
         *            the <tt>RequestEvent</tt> carrying the full details of the
         *            received NOTIFY <tt>Request</tt> including the reason code
         *            which may be processed by this <tt>Subscription</tt>
         * @param reasonCode
         *            the code of the reason for the termination carried in the
         *            NOTIFY <tt>Request</tt> and extracted from the specified
         *            <tt>RequestEvent</tt> for the convenience of the
         *            implementers
         * @see EventPackageSubscriber.Subscription#processTerminatedRequest(
         * RequestEvent, String)
         */
Notifies this Subscription that a terminating NOTIFY
Request has been received and it may process the reason code
carried in it.

@param requestEvent
the RequestEvent carrying the full details of the
received NOTIFY Request including the reason code
which may be processed by this Subscription
@param reasonCode
the code of the reason for the termination carried in the
NOTIFY Request and extracted from the specified
RequestEvent for the convenience of the
implementers
@see EventPackageSubscriber.Subscription#processTerminatedRequest(
RequestEvent, String)
Notifies this Subscription that a terminating NOTIFY Request has been received and it may process the reason code carried in it . @param requestEvent the RequestEvent carrying the full details of the received NOTIFY Request including the reason code which may be processed by this Subscription @param reasonCode the code of the reason for the termination carried in the NOTIFY Request and extracted from the specified RequestEvent for the convenience of the implementers @see EventPackageSubscriber . Subscription#processTerminatedRequest ( RequestEvent String )
@Override
        protected void processTerminatedRequest(RequestEvent requestEvent,
                String reasonCode)
        {
            if (SubscriptionStateHeader.DEACTIVATED.equals(reasonCode))
            {
                try
                {
                    subscriber.poll(this);
                }
                catch (OperationFailedException ofe)
                {
                    logger.error(
                            "Failed to renew the remote-control subscription "
                            + this, ofe);
                }
            }
        }
@ Override protected void processTerminatedRequest ( RequestEvent requestEvent , String reasonCode ) { if ( SubscriptionStateHeader . DEACTIVATED . equals ( reasonCode ) ) { try { subscriber . poll ( this ) ; } catch ( OperationFailedException ofe ) { logger . error ( "Failed to renew the remote-control subscription " + this , ofe ) ; } } }
Notifies this <tt>Subscription</tt> that a terminating NOTIFY
 <tt>Request</tt> has been received and it may process the reason code
 carried in it.
Notifies this <tt > Subscription< / tt > that a terminating NOTIFY <tt > Request< / tt > has been received and it may process the reason code carried in it .