mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/comms/CommsMgrImpl.java
public synchronized void requestToListenForRemoteEvents(final int systemId)
    {
        //List of topics
        final List<String> topics = new ArrayList<String>();
        // listen to link layer events
        topics.add(LinkLayer.TOPIC_ACTIVATED); 
        topics.add(LinkLayer.TOPIC_DEACTIVATED); 
        topics.add(LinkLayer.TOPIC_STATUS_CHANGED); 
        
        //send request for link layer event registrations
        RemoteEvents.sendEventRegistration(m_MessageFactory, topics, null, false, systemId, m_RemoteHandler);
        
        topics.clear();
        
        // listen to factory events
        topics.add(FactoryDescriptor.TOPIC_FACTORY_OBJ_CREATED);
        topics.add(FactoryDescriptor.TOPIC_FACTORY_OBJ_DELETED);
        topics.add(FactoryDescriptor.TOPIC_FACTORY_OBJ_NAME_UPDATED);
        topics.add(FactoryDescriptor.TOPIC_FACTORY_OBJ_PID_CREATED);
        topics.add(FactoryDescriptor.TOPIC_FACTORY_OBJ_PID_REMOVED);
        
        final String filterString = String.format("(|(%s=%s)(%s=%s)(%s=%s))", 
                FactoryDescriptor.EVENT_PROP_OBJ_BASE_TYPE, LinkLayer.class.getSimpleName(),
                FactoryDescriptor.EVENT_PROP_OBJ_BASE_TYPE, PhysicalLink.class.getSimpleName(),
                FactoryDescriptor.EVENT_PROP_OBJ_BASE_TYPE, TransportLayer.class.getSimpleName());     
        
        //send request for factory descriptor registrations
        RemoteEvents.sendEventRegistration(m_MessageFactory, topics, filterString, false, systemId, m_RemoteHandler);
    }
/**
     * Request to get comms events.
     * 
     * @param systemId
     *     the system to which to send the request
     */
Request to get comms events.

@param systemId
the system to which to send the request
Request to get comms events . @param systemId the system to which to send the request
public synchronized void requestToListenForRemoteEvents(final int systemId)
    {
        final List<String> topics = new ArrayList<String>();
        topics.add(LinkLayer.TOPIC_ACTIVATED); 
        topics.add(LinkLayer.TOPIC_DEACTIVATED); 
        topics.add(LinkLayer.TOPIC_STATUS_CHANGED); 
        RemoteEvents.sendEventRegistration(m_MessageFactory, topics, null, false, systemId, m_RemoteHandler);
        topics.clear();
        topics.add(FactoryDescriptor.TOPIC_FACTORY_OBJ_CREATED);
        topics.add(FactoryDescriptor.TOPIC_FACTORY_OBJ_DELETED);
        topics.add(FactoryDescriptor.TOPIC_FACTORY_OBJ_NAME_UPDATED);
        topics.add(FactoryDescriptor.TOPIC_FACTORY_OBJ_PID_CREATED);
        topics.add(FactoryDescriptor.TOPIC_FACTORY_OBJ_PID_REMOVED);
        final String filterString = String.format("(|(%s=%s)(%s=%s)(%s=%s))", 
                FactoryDescriptor.EVENT_PROP_OBJ_BASE_TYPE, LinkLayer.class.getSimpleName(),
                FactoryDescriptor.EVENT_PROP_OBJ_BASE_TYPE, PhysicalLink.class.getSimpleName(),
                FactoryDescriptor.EVENT_PROP_OBJ_BASE_TYPE, TransportLayer.class.getSimpleName());     
        RemoteEvents.sendEventRegistration(m_MessageFactory, topics, filterString, false, systemId, m_RemoteHandler);
    }
public synchronized void requestToListenForRemoteEvents ( final int systemId ) { final List < String > topics = new ArrayList < String > ( ) ; topics . add ( LinkLayer . TOPIC_ACTIVATED ) ; topics . add ( LinkLayer . TOPIC_DEACTIVATED ) ; topics . add ( LinkLayer . TOPIC_STATUS_CHANGED ) ; RemoteEvents . sendEventRegistration ( m_MessageFactory , topics , null , false , systemId , m_RemoteHandler ) ; topics . clear ( ) ; topics . add ( FactoryDescriptor . TOPIC_FACTORY_OBJ_CREATED ) ; topics . add ( FactoryDescriptor . TOPIC_FACTORY_OBJ_DELETED ) ; topics . add ( FactoryDescriptor . TOPIC_FACTORY_OBJ_NAME_UPDATED ) ; topics . add ( FactoryDescriptor . TOPIC_FACTORY_OBJ_PID_CREATED ) ; topics . add ( FactoryDescriptor . TOPIC_FACTORY_OBJ_PID_REMOVED ) ; final String filterString = String . format ( "(|(%s=%s)(%s=%s)(%s=%s))" , FactoryDescriptor . EVENT_PROP_OBJ_BASE_TYPE , LinkLayer . class . getSimpleName ( ) , FactoryDescriptor . EVENT_PROP_OBJ_BASE_TYPE , PhysicalLink . class . getSimpleName ( ) , FactoryDescriptor . EVENT_PROP_OBJ_BASE_TYPE , TransportLayer . class . getSimpleName ( ) ) ; RemoteEvents . sendEventRegistration ( m_MessageFactory , topics , filterString , false , systemId , m_RemoteHandler ) ; }
Request to get comms events.
Request to get comms events .
//List of topics // listen to link layer events //send request for link layer event registrations // listen to factory events //send request for factory descriptor registrations