public void addMessageFilter ( BaseMessageFilter messageFilter ) { if ( messageFilter == null ) return ; m_mapFilters . put ( m_intNext , messageFilter ) ; messageFilter . setMessageReceiver ( this . getMessageReceiver ( ) , m_intNext ) ; int i = m_intNext . intValue ( ) ; if ( i == Integer . MAX_VALUE ) i = 0 ; m_intNext = new Integer ( i + 1 ) ; }
Add this message filter to this receive queue .