mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/messaging/MessageSenderImpl.java
public void registerMessageReceivedEvent()
        {
            //dictionary of properties for the event handler for TOPIC_MESSAGE_RECEIVED
            final Dictionary<String, Object> props = new Hashtable<String, Object>();
            props.put(EventConstants.EVENT_TOPIC, RemoteConstants.TOPIC_MESSAGE_RECEIVED);
            props.put(EventConstants.EVENT_FILTER, String.format("(%s=%s)", 
                    RemoteConstants.EVENT_PROP_MESSAGE_RESPONSE, true));
            
            //register the event handler
            m_ServiceReg = m_Context.registerService(EventHandler.class, this, props);
        }
/**
         * Method to register this event handler for the message received event.
         */
Method to register this event handler for the message received event.
Method to register this event handler for the message received event .
public void registerMessageReceivedEvent()
        {
            final Dictionary<String, Object> props = new Hashtable<String, Object>();
            props.put(EventConstants.EVENT_TOPIC, RemoteConstants.TOPIC_MESSAGE_RECEIVED);
            props.put(EventConstants.EVENT_FILTER, String.format("(%s=%s)", 
                    RemoteConstants.EVENT_PROP_MESSAGE_RESPONSE, true));
            m_ServiceReg = m_Context.registerService(EventHandler.class, this, props);
        }
public void registerMessageReceivedEvent ( ) { final Dictionary < String , Object > props = new Hashtable < String , Object > ( ) ; props . put ( EventConstants . EVENT_TOPIC , RemoteConstants . TOPIC_MESSAGE_RECEIVED ) ; props . put ( EventConstants . EVENT_FILTER , String . format ( "(%s=%s)" , RemoteConstants . EVENT_PROP_MESSAGE_RESPONSE , true ) ) ; m_ServiceReg = m_Context . registerService ( EventHandler . class , this , props ) ; }
Method to register this event handler for the message received event.
Method to register this event handler for the message received event .
//dictionary of properties for the event handler for TOPIC_MESSAGE_RECEIVED //register the event handler