mil.dod.th.ose.datastream/src/mil/dod/th/ose/datastream/DataStreamServiceImpl.java
public void registerEvents()
        {
            final Dictionary<String, Object> properties = new Hashtable<String, Object>();
            properties.put(EventConstants.EVENT_TOPIC, FactoryDescriptor.TOPIC_FACTORY_OBJ_PID_REMOVED);
            final String filterString = String.format("(%s=%s)", FactoryDescriptor.EVENT_PROP_OBJ_BASE_TYPE, 
                    StreamProfile.class.getSimpleName());
            properties.put(EventConstants.EVENT_FILTER, filterString);
            m_ServiceRegistration = m_Context.registerService(EventHandler.class, this, properties);
        }
/**
         * Method used to register this handler class for PID removed events.
         */
Method used to register this handler class for PID removed events.
Method used to register this handler class for PID removed events .
public void registerEvents()
        {
            final Dictionary<String, Object> properties = new Hashtable<String, Object>();
            properties.put(EventConstants.EVENT_TOPIC, FactoryDescriptor.TOPIC_FACTORY_OBJ_PID_REMOVED);
            final String filterString = String.format("(%s=%s)", FactoryDescriptor.EVENT_PROP_OBJ_BASE_TYPE, 
                    StreamProfile.class.getSimpleName());
            properties.put(EventConstants.EVENT_FILTER, filterString);
            m_ServiceRegistration = m_Context.registerService(EventHandler.class, this, properties);
        }
public void registerEvents ( ) { final Dictionary < String , Object > properties = new Hashtable < String , Object > ( ) ; properties . put ( EventConstants . EVENT_TOPIC , FactoryDescriptor . TOPIC_FACTORY_OBJ_PID_REMOVED ) ; final String filterString = String . format ( "(%s=%s)" , FactoryDescriptor . EVENT_PROP_OBJ_BASE_TYPE , StreamProfile . class . getSimpleName ( ) ) ; properties . put ( EventConstants . EVENT_FILTER , filterString ) ; m_ServiceRegistration = m_Context . registerService ( EventHandler . class , this , properties ) ; }
Method used to register this handler class for PID removed events.
Method used to register this handler class for PID removed events .