mil.dod.th.ose.remote/src/mil/dod/th/ose/remote/RemoteChannelLookupImpl.java
private int findIdByChannelProps(final Map<String, Object> properties)
    {
        for (int id : m_ChannelMap.keySet())
        {
            for (RemoteChannel channel : m_ChannelMap.get(id))
            {
                if (channel.matches(properties))
                {
                    return id;
                }
            }
        }
        
        return -1;
    }
/**
     * Find the controller id that is associated with the given channel.
     * 
     * @param properties
     *      properties associated with the channel
     * @return
     *      id of the channel or -1 if not found
     */
Find the controller id that is associated with the given channel.

@param properties
properties associated with the channel
@return
id of the channel or -1 if not found
Find the controller id that is associated with the given channel . @param properties properties associated with the channel @return id of the channel or - 1 if not found
private int findIdByChannelProps(final Map<String, Object> properties)
    {
        for (int id : m_ChannelMap.keySet())
        {
            for (RemoteChannel channel : m_ChannelMap.get(id))
            {
                if (channel.matches(properties))
                {
                    return id;
                }
            }
        }
        return -1;
    }
private int findIdByChannelProps ( final Map < String , Object > properties ) { for ( int id : m_ChannelMap . keySet ( ) ) { for ( RemoteChannel channel : m_ChannelMap . get ( id ) ) { if ( channel . matches ( properties ) ) { return id ; } } } return - 1 ; }
Find the controller id that is associated with the given channel.
Find the controller id that is associated with the given channel .