src/net/java/sip/communicator/impl/protocol/jabber/OperationSetTelephonyConferencingJabberImpl.java
/**
     * Implementation of method <tt>registrationStateChange</tt> from
     * interface RegistrationStateChangeListener for setting up (or down)
     * our <tt>JingleManager</tt> when an <tt>XMPPConnection</tt> is available
     *
     * @param evt the event received
     */
Implementation of method registrationStateChange from
interface RegistrationStateChangeListener for setting up (or down)
our JingleManager when an XMPPConnection is available

@param evt the event received
Implementation of method registrationStateChange from interface RegistrationStateChangeListener for setting up ( or down ) our JingleManager when an XMPPConnection is available @param evt the event received
@Override
    public void registrationStateChanged(RegistrationStateChangeEvent evt)
    {
        super.registrationStateChanged(evt);
        RegistrationState registrationState = evt.getNewState();
        if (RegistrationState.REGISTERED.equals(registrationState))
        {
            if(logger.isDebugEnabled())
                logger.debug("Subscribes to Coin packets");
            subscribeForCoinPackets();
        }
        else if (RegistrationState.UNREGISTERED.equals(registrationState))
        {
            if(logger.isDebugEnabled())
                logger.debug("Unsubscribes to Coin packets");
            unsubscribeForCoinPackets();
        }
    }
@ Override public void registrationStateChanged ( RegistrationStateChangeEvent evt ) { super . registrationStateChanged ( evt ) ; RegistrationState registrationState = evt . getNewState ( ) ; if ( RegistrationState . REGISTERED . equals ( registrationState ) ) { if ( logger . isDebugEnabled ( ) ) logger . debug ( "Subscribes to Coin packets" ) ; subscribeForCoinPackets ( ) ; } else if ( RegistrationState . UNREGISTERED . equals ( registrationState ) ) { if ( logger . isDebugEnabled ( ) ) logger . debug ( "Unsubscribes to Coin packets" ) ; unsubscribeForCoinPackets ( ) ; } }
Implementation of method <tt>registrationStateChange</tt> from
 interface RegistrationStateChangeListener for setting up (or down)
 our <tt>JingleManager</tt> when an <tt>XMPPConnection</tt> is available
Implementation of method <tt > registrationStateChange< / tt > from interface RegistrationStateChangeListener for setting up ( or down ) our <tt > JingleManager< / tt > when an <tt > XMPPConnection< / tt > is available