mil.dod.th.remote.client/src/mil/dod/th/remote/client/impl/MessageListenerServiceImpl.java
@SuppressWarnings("unchecked")
    private synchronized void executeCallbacks(@SuppressWarnings("rawtypes") final RemoteMessage message,
            final List<MessageListenerCallback<?>> messageCallbackList)
    {
        for (MessageListenerCallback<?> messageCallback : messageCallbackList)
        {
            try
            {
                messageCallback.handleMessage(message);
            }
            catch (final Exception ex)
            {
                m_Logging.error(ex, "Exception thrown during message callback");
            }
        }
    }
/**
     * Execute callback(s) for the given message. This method is called from the listening thread and must be
     * synchronized to ensure thread safety for the message callback list.
     * 
     * @param message
     *      newly received remote message
     * @param messageCallbackList
     *      list of callbacks to receive the message
     */
Execute callback(s) for the given message. This method is called from the listening thread and must be
synchronized to ensure thread safety for the message callback list.

@param message
newly received remote message
@param messageCallbackList
list of callbacks to receive the message
Execute callback ( s ) for the given message . This method is called from the listening thread and must be synchronized to ensure thread safety for the message callback list . @param message newly received remote message @param messageCallbackList list of callbacks to receive the message
@SuppressWarnings("unchecked")
    private synchronized void executeCallbacks(@SuppressWarnings("rawtypes") final RemoteMessage message,
            final List<MessageListenerCallback<?>> messageCallbackList)
    {
        for (MessageListenerCallback<?> messageCallback : messageCallbackList)
        {
            try
            {
                messageCallback.handleMessage(message);
            }
            catch (final Exception ex)
            {
                m_Logging.error(ex, "Exception thrown during message callback");
            }
        }
    }
@ SuppressWarnings ( "unchecked" ) private synchronized void executeCallbacks ( @ SuppressWarnings ( "rawtypes" ) final RemoteMessage message , final List < MessageListenerCallback < ? > > messageCallbackList ) { for ( MessageListenerCallback < ? > messageCallback : messageCallbackList ) { try { messageCallback . handleMessage ( message ) ; } catch ( final Exception ex ) { m_Logging . error ( ex , "Exception thrown during message callback" ) ; } } }
Execute callback(s) for the given message.
Execute callback ( s ) for the given message .