mil.dod.th.ose.remote.integration/src/mil/dod/th/ose/remote/integration/MessageListener.java
public Message waitForMessage(Namespace expectedNamespace, ProtocolMessageEnum expectedType, 
            int timeoutMS)
    {
        return waitForMessages(expectedNamespace, expectedType, timeoutMS, MatchCount.atLeastOnce()).
                get(0).namespaceMessage;
    }
/**
     * Wait for the first occurrence of the given message.
     * 
     * @param expectedNamespace
     *      wait for a message from this namespace
     * @param expectedType
     *      wait for a message of this type
     * @param timeoutMS
     *      max time to wait for the message
     */
Wait for the first occurrence of the given message.

@param expectedNamespace
wait for a message from this namespace
@param expectedType
wait for a message of this type
@param timeoutMS
max time to wait for the message
Wait for the first occurrence of the given message . @param expectedNamespace wait for a message from this namespace @param expectedType wait for a message of this type @param timeoutMS max time to wait for the message
public Message waitForMessage(Namespace expectedNamespace, ProtocolMessageEnum expectedType, 
            int timeoutMS)
    {
        return waitForMessages(expectedNamespace, expectedType, timeoutMS, MatchCount.atLeastOnce()).
                get(0).namespaceMessage;
    }
public Message waitForMessage ( Namespace expectedNamespace , ProtocolMessageEnum expectedType , int timeoutMS ) { return waitForMessages ( expectedNamespace , expectedType , timeoutMS , MatchCount . atLeastOnce ( ) ) . get ( 0 ) . namespaceMessage ; }
Wait for the first occurrence of the given message.
Wait for the first occurrence of the given message .