mil.dod.th.ose.gui.webapp/src/mil/dod/th/ose/gui/webapp/remote/RemoteEvents.java
static public void sendEventRegistration(final MessageFactory messageFactory, final List<String> topics, 
            final String filterString, final boolean canQueueEvent, final int systemId, 
            final ResponseHandler responseHandler)
    {
        final EventRegistrationRequestData.Builder requestMessage = EventRegistrationRequestData.newBuilder().
                addAllTopic(topics)
                .setExpirationTimeHours(m_EventRegTimeoutHours)
                .setCanQueueEvent(canQueueEvent);

        if (filterString != null)
        {
            requestMessage.setFilter(filterString);
        }               

        messageFactory.createEventAdminMessage(EventAdminMessageType.EventRegistrationRequest, 
                requestMessage.build()).queue(systemId, responseHandler);
    }
/**
     * Registers for events remotely for a system.
     * 
     * @param messageFactory
     *     the message factory to use for creating messages
     * @param topics
     *     the list of event topics to register for
     * @param filterString
     *     string to filter the events
     * @param canQueueEvent
     *     if the events should be queued or not
     * @param systemId
     *     id of the registering system
     * @param responseHandler
     *     remote event registration handler for this registration
     */
Registers for events remotely for a system.


Registers for events remotely for a system .
static public void sendEventRegistration(final MessageFactory messageFactory, final List<String> topics, 
            final String filterString, final boolean canQueueEvent, final int systemId, 
            final ResponseHandler responseHandler)
    {
        final EventRegistrationRequestData.Builder requestMessage = EventRegistrationRequestData.newBuilder().
                addAllTopic(topics)
                .setExpirationTimeHours(m_EventRegTimeoutHours)
                .setCanQueueEvent(canQueueEvent);
        if (filterString != null)
        {
            requestMessage.setFilter(filterString);
        }               
        messageFactory.createEventAdminMessage(EventAdminMessageType.EventRegistrationRequest, 
                requestMessage.build()).queue(systemId, responseHandler);
    }
static public void sendEventRegistration ( final MessageFactory messageFactory , final List < String > topics , final String filterString , final boolean canQueueEvent , final int systemId , final ResponseHandler responseHandler ) { final EventRegistrationRequestData . Builder requestMessage = EventRegistrationRequestData . newBuilder ( ) . addAllTopic ( topics ) . setExpirationTimeHours ( m_EventRegTimeoutHours ) . setCanQueueEvent ( canQueueEvent ) ; if ( filterString != null ) { requestMessage . setFilter ( filterString ) ; } messageFactory . createEventAdminMessage ( EventAdminMessageType . EventRegistrationRequest , requestMessage . build ( ) ) . queue ( systemId , responseHandler ) ; }
Registers for events remotely for a system.
Registers for events remotely for a system .