src/net/java/sip/communicator/service/protocol/media/AbstractOperationSetTelephonyConferencing.java
/**
     * Notifies this <tt>RegistrationStateChangeListener</tt> that the
     * <tt>ProtocolProviderSerivce</tt> it is registered with has changed its
     * registration state.
     *
     * @param event a <tt>RegistrationStateChangeEvent</tt> which specifies the
     * old and the new value of the registration state of the
     * <tt>ProtocolProviderService</tt> this
     * <tt>RegistrationStateChangeListener</tt> listens to
     */
Notifies this RegistrationStateChangeListener that the
ProtocolProviderSerivce it is registered with has changed its
registration state.

@param event a RegistrationStateChangeEvent which specifies the
old and the new value of the registration state of the
ProtocolProviderService this
RegistrationStateChangeListener listens to
Notifies this RegistrationStateChangeListener that the ProtocolProviderSerivce it is registered with has changed its registration state . @param event a RegistrationStateChangeEvent which specifies the old and the new value of the registration state of the ProtocolProviderService this RegistrationStateChangeListener listens to
public void registrationStateChanged(RegistrationStateChangeEvent event)
    {
        RegistrationState newState = event.getNewState();
        if (RegistrationState.REGISTERED.equals(newState))
        {
            @SuppressWarnings("unchecked")
            OperationSetBasicTelephonyT basicTelephony
                = (OperationSetBasicTelephonyT)
                    parentProvider.getOperationSet(
                            OperationSetBasicTelephony.class);
            if (this.basicTelephony != basicTelephony)
            {
                OperationSetBasicTelephonyT oldValue = this.basicTelephony;
                this.basicTelephony = basicTelephony;
                basicTelephonyChanged(oldValue, this.basicTelephony);
            }
        }
        else if (RegistrationState.UNREGISTERED.equals(newState))
        {
            if (basicTelephony != null)
            {
                OperationSetBasicTelephonyT oldValue = basicTelephony;
                basicTelephony = null;
                basicTelephonyChanged(oldValue, null);
            }
        }
    }
public void registrationStateChanged ( RegistrationStateChangeEvent event ) { RegistrationState newState = event . getNewState ( ) ; if ( RegistrationState . REGISTERED . equals ( newState ) ) { @ SuppressWarnings ( "unchecked" ) OperationSetBasicTelephonyT basicTelephony = ( OperationSetBasicTelephonyT ) parentProvider . getOperationSet ( OperationSetBasicTelephony . class ) ; if ( this . basicTelephony != basicTelephony ) { OperationSetBasicTelephonyT oldValue = this . basicTelephony ; this . basicTelephony = basicTelephony ; basicTelephonyChanged ( oldValue , this . basicTelephony ) ; } } else if ( RegistrationState . UNREGISTERED . equals ( newState ) ) { if ( basicTelephony != null ) { OperationSetBasicTelephonyT oldValue = basicTelephony ; basicTelephony = null ; basicTelephonyChanged ( oldValue , null ) ; } } }
Notifies this <tt>RegistrationStateChangeListener</tt> that the
 <tt>ProtocolProviderSerivce</tt> it is registered with has changed its
 registration state.
Notifies this <tt > RegistrationStateChangeListener< / tt > that the <tt > ProtocolProviderSerivce< / tt > it is registered with has changed its registration state .