public void addMessageListener(IMessageListener listener){
  listeners.add(listener);
}

public void addMessageListener ( IMessageListener listener ) { listeners . add ( listener ) ; }
add input stream message listener . all incoming messages are notified to the listener . the listener may not block in message handling as the message is handled in read thread .
