mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/osgi/EventAdminMessageService.java
private Message sendEvent(final TerraHarvestMessage request, final EventAdminNamespace message) 
            throws InvalidProtocolBufferException, ObjectConverterException, UnmarshalException
    {
        final SendEventData regRequest = SendEventData.parseFrom(message.getData());
        final Map<String, Object> props = m_RemotePropertyConverter.complexTypesMapToMap(regRequest.getPropertyList());
        
        props.put(RemoteConstants.REMOTE_EVENT_PROP_CONTROLLER_ID, request.getSourceId());
        m_EventAdmin.postEvent(new Event(RemoteInterfaceUtilities.getRemoteEventTopic(regRequest.getTopic()), props));
        
        m_Logging.debug("Received remote event [%s]", regRequest.getTopic());
        
        return regRequest;
    }
/**
     * Method that locally posts an event based on a received remote event message and its
     * corresponding properties and topic. 
     * @param request
     *      entire remote message for the request 
     * @param message
     *      message containing the properties and topic of a remote event
     * @throws InvalidProtocolBufferException 
     *      if message cannot be properly parsed
     * @return
     *      the data message for this request 
     * @throws ObjectConverterException
     *      if object cannot be converted between JAXB and protocol buffer format
     * @throws UnmarshalException
     *      if unable to parse XML as JAXB object
     */
Method that locally posts an event based on a received remote event message and its
corresponding properties and topic.
Method that locally posts an event based on a received remote event message and its corresponding properties and topic .
private Message sendEvent(final TerraHarvestMessage request, final EventAdminNamespace message) 
            throws InvalidProtocolBufferException, ObjectConverterException, UnmarshalException
    {
        final SendEventData regRequest = SendEventData.parseFrom(message.getData());
        final Map<String, Object> props = m_RemotePropertyConverter.complexTypesMapToMap(regRequest.getPropertyList());
        props.put(RemoteConstants.REMOTE_EVENT_PROP_CONTROLLER_ID, request.getSourceId());
        m_EventAdmin.postEvent(new Event(RemoteInterfaceUtilities.getRemoteEventTopic(regRequest.getTopic()), props));
        m_Logging.debug("Received remote event [%s]", regRequest.getTopic());
        return regRequest;
    }
private Message sendEvent ( final TerraHarvestMessage request , final EventAdminNamespace message ) throws InvalidProtocolBufferException , ObjectConverterException , UnmarshalException { final SendEventData regRequest = SendEventData . parseFrom ( message . getData ( ) ) ; final Map < String , Object > props = m_RemotePropertyConverter . complexTypesMapToMap ( regRequest . getPropertyList ( ) ) ; props . put ( RemoteConstants . REMOTE_EVENT_PROP_CONTROLLER_ID , request . getSourceId ( ) ) ; m_EventAdmin . postEvent ( new Event ( RemoteInterfaceUtilities . getRemoteEventTopic ( regRequest . getTopic ( ) ) , props ) ) ; m_Logging . debug ( "Received remote event [%s]" , regRequest . getTopic ( ) ) ; return regRequest ; }
Method that locally posts an event based on a received remote event message and its
 corresponding properties and topic.
Method that locally posts an event based on a received remote event message and its corresponding properties and topic .