mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/advanced/BundleMgrImpl.java
private void handleBundleInfoResponse(final BundleMessages.GetBundleInfoResponseData bundle, 
                final int controllerId)
        {
            final List<BundleInfoType> bundleInfoList = bundle.getInfoDataList();
            
            for (BundleInfoType bundleInfo : bundleInfoList)
            {
                final long bundleId = bundleInfo.getBundleId();
                if (m_ControllerBundles.containsKey(controllerId) 
                        && !m_ControllerBundles.get(controllerId).containsKey(bundleId))
                {
                    m_ControllerBundles.get(controllerId).put(bundleId, new BundleModel(bundleInfo));
                }
                else
                {
                    m_ControllerBundles.get(controllerId).get(bundleId).updateBundle(bundleInfo);
                } 
            }
            if (bundleInfoList.size() == 1)
            {
                postBundleEvent(bundleInfoList.get(0).getBundleId(), bundleInfoList.get(0).getBundleLocation(), 
                    controllerId, BundleMgr.TOPIC_BUNDLE_INFO_RECEIVED);
            }
            else
            {
                postBundleEvent(null, null, controllerId, BundleMgr.TOPIC_BUNDLE_INFO_RECEIVED);
            }
        }
/**
         * Method that is called to handle a bundle info response message.
         * 
         * @param bundle
         *          Bundle model that contains the bundle information found in the bundle info response message.
         * @param controllerId
         *          ID of the controller the bundle is located on.
         */
Method that is called to handle a bundle info response message.

@param bundle
Bundle model that contains the bundle information found in the bundle info response message.
@param controllerId
ID of the controller the bundle is located on.
Method that is called to handle a bundle info response message . @param bundle Bundle model that contains the bundle information found in the bundle info response message . @param controllerId ID of the controller the bundle is located on .
private void handleBundleInfoResponse(final BundleMessages.GetBundleInfoResponseData bundle, 
                final int controllerId)
        {
            final List<BundleInfoType> bundleInfoList = bundle.getInfoDataList();
            for (BundleInfoType bundleInfo : bundleInfoList)
            {
                final long bundleId = bundleInfo.getBundleId();
                if (m_ControllerBundles.containsKey(controllerId) 
                        && !m_ControllerBundles.get(controllerId).containsKey(bundleId))
                {
                    m_ControllerBundles.get(controllerId).put(bundleId, new BundleModel(bundleInfo));
                }
                else
                {
                    m_ControllerBundles.get(controllerId).get(bundleId).updateBundle(bundleInfo);
                } 
            }
            if (bundleInfoList.size() == 1)
            {
                postBundleEvent(bundleInfoList.get(0).getBundleId(), bundleInfoList.get(0).getBundleLocation(), 
                    controllerId, BundleMgr.TOPIC_BUNDLE_INFO_RECEIVED);
            }
            else
            {
                postBundleEvent(null, null, controllerId, BundleMgr.TOPIC_BUNDLE_INFO_RECEIVED);
            }
        }
private void handleBundleInfoResponse ( final BundleMessages . GetBundleInfoResponseData bundle , final int controllerId ) { final List < BundleInfoType > bundleInfoList = bundle . getInfoDataList ( ) ; for ( BundleInfoType bundleInfo : bundleInfoList ) { final long bundleId = bundleInfo . getBundleId ( ) ; if ( m_ControllerBundles . containsKey ( controllerId ) && ! m_ControllerBundles . get ( controllerId ) . containsKey ( bundleId ) ) { m_ControllerBundles . get ( controllerId ) . put ( bundleId , new BundleModel ( bundleInfo ) ) ; } else { m_ControllerBundles . get ( controllerId ) . get ( bundleId ) . updateBundle ( bundleInfo ) ; } } if ( bundleInfoList . size ( ) == 1 ) { postBundleEvent ( bundleInfoList . get ( 0 ) . getBundleId ( ) , bundleInfoList . get ( 0 ) . getBundleLocation ( ) , controllerId , BundleMgr . TOPIC_BUNDLE_INFO_RECEIVED ) ; } else { postBundleEvent ( null , null , controllerId , BundleMgr . TOPIC_BUNDLE_INFO_RECEIVED ) ; } }
Method that is called to handle a bundle info response message.
Method that is called to handle a bundle info response message .