mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/controller/TestControllerMgrImpl.java
private Event createBasicChannelUpdatedEvent(RemoteChannel channel, int systemId)
    {
        Map<String, Object> props = new HashMap<String, Object>();
        
        //add channel
        props.put(RemoteConstants.EVENT_PROP_SYS_ID, systemId);
        props.put(RemoteConstants.EVENT_PROP_CHANNEL, channel);
        
        return createOsgiEvent(RemoteChannelLookup.TOPIC_CHANNEL_UPDATED, props);        
    }
/**
     * Mock a basic channel updated event.
     * @param channel
     *      mocked channel that is to be updated
     * @param systemId
     *      ID of the corresponding system
     * @return
     *      the channel updated event
     */
Mock a basic channel updated event.
@param channel
mocked channel that is to be updated
@param systemId
ID of the corresponding system
@return
the channel updated event
Mock a basic channel updated event . @param channel mocked channel that is to be updated @param systemId ID of the corresponding system @return the channel updated event
private Event createBasicChannelUpdatedEvent(RemoteChannel channel, int systemId)
    {
        Map<String, Object> props = new HashMap<String, Object>();
        props.put(RemoteConstants.EVENT_PROP_SYS_ID, systemId);
        props.put(RemoteConstants.EVENT_PROP_CHANNEL, channel);
        return createOsgiEvent(RemoteChannelLookup.TOPIC_CHANNEL_UPDATED, props);        
    }
private Event createBasicChannelUpdatedEvent ( RemoteChannel channel , int systemId ) { Map < String , Object > props = new HashMap < String , Object > ( ) ; props . put ( RemoteConstants . EVENT_PROP_SYS_ID , systemId ) ; props . put ( RemoteConstants . EVENT_PROP_CHANNEL , channel ) ; return createOsgiEvent ( RemoteChannelLookup . TOPIC_CHANNEL_UPDATED , props ) ; }
Mock a basic channel updated event.
Mock a basic channel updated event .
//add channel