protected void dispatchMessages ( String channel , Message message , Set < IMessageCallback > callbacks ) { for ( IMessageCallback callback : callbacks ) { try { callback . onMessage ( channel , message ) ; } catch ( Exception e ) { } } }
Dispatch message to callback . Override to address special threading considerations .