mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/controller/ObservationCountMgrImpl.java
private void postObsCntUpdatedEvent(final int controllerId)
    {
        final HashMap<String, Object> map = new HashMap<>();
        map.put(SharedPropertyConstants.EVENT_PROP_CONTROLLER_ID, controllerId);
        map.put(EVENT_PROP_OBS_COUNT, m_ControllerObsCount.get(controllerId));
        
        final Event obsCntUpdated = 
                new Event(TOPIC_OBSERVATION_COUNT_UPDATED, map);
        m_EventAdmin.postEvent(obsCntUpdated);
    }
/**
     * Method that post an observation count updated event used to trigger push to update the page.
     * @param controllerId
     *  the controller id
     */
Method that post an observation count updated event used to trigger push to update the page.
@param controllerId
the controller id
Method that post an observation count updated event used to trigger push to update the page . @param controllerId the controller id
private void postObsCntUpdatedEvent(final int controllerId)
    {
        final HashMap<String, Object> map = new HashMap<>();
        map.put(SharedPropertyConstants.EVENT_PROP_CONTROLLER_ID, controllerId);
        map.put(EVENT_PROP_OBS_COUNT, m_ControllerObsCount.get(controllerId));
        final Event obsCntUpdated = 
                new Event(TOPIC_OBSERVATION_COUNT_UPDATED, map);
        m_EventAdmin.postEvent(obsCntUpdated);
    }
private void postObsCntUpdatedEvent ( final int controllerId ) { final HashMap < String , Object > map = new HashMap < > ( ) ; map . put ( SharedPropertyConstants . EVENT_PROP_CONTROLLER_ID , controllerId ) ; map . put ( EVENT_PROP_OBS_COUNT , m_ControllerObsCount . get ( controllerId ) ) ; final Event obsCntUpdated = new Event ( TOPIC_OBSERVATION_COUNT_UPDATED , map ) ; m_EventAdmin . postEvent ( obsCntUpdated ) ; }
Method that post an observation count updated event used to trigger push to update the page.
Method that post an observation count updated event used to trigger push to update the page .