mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/advanced/configuration/SystemConfigurationMgrImpl.java
private void handleUpdateConfigurationEvent(final int controllerId, final String pid)
    {   
        final GetConfigurationInfoRequestData.Builder request = 
                GetConfigurationInfoRequestData.newBuilder().setIncludeProperties(true);
        if (m_ControllerConfigList.containsKey(controllerId))
        {
            // already have info for all PIDs, just get the update for the one that was updated
            request.setFilter(String.format(m_ServiceFilter, pid));
        }
        else
        {
            // no info at all, don't filter
            m_ControllerConfigList.put(controllerId, new HashMap<String, ConfigAdminModel>());
            registerRemoteEvents(controllerId);
        }
        
        m_MessageFactory.createConfigAdminMessage(ConfigAdminMessageType.GetConfigurationInfoRequest, request.build()).
            queue(controllerId, m_ConfigResponseHandler);
    }
/**
     * Method that handles a configuration updated event.
     * 
     * @param controllerId
     *          ID of the controller the event pertains to.
     * @param pid
     *          PID of the configuration the update event pertains to.
     */
Method that handles a configuration updated event.

@param controllerId
ID of the controller the event pertains to.
@param pid
PID of the configuration the update event pertains to.
Method that handles a configuration updated event . @param controllerId ID of the controller the event pertains to . @param pid PID of the configuration the update event pertains to .
private void handleUpdateConfigurationEvent(final int controllerId, final String pid)
    {   
        final GetConfigurationInfoRequestData.Builder request = 
                GetConfigurationInfoRequestData.newBuilder().setIncludeProperties(true);
        if (m_ControllerConfigList.containsKey(controllerId))
        {
            request.setFilter(String.format(m_ServiceFilter, pid));
        }
        else
        {
            m_ControllerConfigList.put(controllerId, new HashMap<String, ConfigAdminModel>());
            registerRemoteEvents(controllerId);
        }
        m_MessageFactory.createConfigAdminMessage(ConfigAdminMessageType.GetConfigurationInfoRequest, request.build()).
            queue(controllerId, m_ConfigResponseHandler);
    }
private void handleUpdateConfigurationEvent ( final int controllerId , final String pid ) { final GetConfigurationInfoRequestData . Builder request = GetConfigurationInfoRequestData . newBuilder ( ) . setIncludeProperties ( true ) ; if ( m_ControllerConfigList . containsKey ( controllerId ) ) { request . setFilter ( String . format ( m_ServiceFilter , pid ) ) ; } else { m_ControllerConfigList . put ( controllerId , new HashMap < String , ConfigAdminModel > ( ) ) ; registerRemoteEvents ( controllerId ) ; } m_MessageFactory . createConfigAdminMessage ( ConfigAdminMessageType . GetConfigurationInfoRequest , request . build ( ) ) . queue ( controllerId , m_ConfigResponseHandler ) ; }
Method that handles a configuration updated event.
Method that handles a configuration updated event .
// already have info for all PIDs, just get the update for the one that was updated // no info at all, don't filter