mil.dod.th.ose.remote.integration/src/mil/dod/th/ose/remote/integration/MessageListener.java
public Message waitForRemoteEvent(final String topic, int timeoutMS) 
        throws InterruptedException
    {
        return waitForRemoteEvents(topic, timeoutMS, MatchCount.atLeastOnce()).get(0).namespaceMessage;
    }
/**
     * Wait for the first occurrence of the given message.
     * 
     * @param topic
     *      event topic to wait for
     * @param timeoutMS
     *      max time to wait for the message
     */
Wait for the first occurrence of the given message.

@param topic
event topic to wait for
@param timeoutMS
max time to wait for the message
Wait for the first occurrence of the given message . @param topic event topic to wait for @param timeoutMS max time to wait for the message
public Message waitForRemoteEvent(final String topic, int timeoutMS) 
        throws InterruptedException
    {
        return waitForRemoteEvents(topic, timeoutMS, MatchCount.atLeastOnce()).get(0).namespaceMessage;
    }
public Message waitForRemoteEvent ( final String topic , int timeoutMS ) throws InterruptedException { return waitForRemoteEvents ( topic , timeoutMS , MatchCount . atLeastOnce ( ) ) . get ( 0 ) . namespaceMessage ; }
Wait for the first occurrence of the given message.
Wait for the first occurrence of the given message .