Example #1
0
 public void addErrListener(final IStreamListener errHandler) {
   final IStreamsProxy streamsProxy = getStreamsProxy();
   if (streamsProxy != null) {
     streamsProxy.getErrorStreamMonitor().addListener(errHandler);
   }
 }
 private IStreamsProxy removeDuplicates(IStreamsProxy streamsProxy) {
   return new StreamsProxy(
       removeDuplicates(streamsProxy.getOutputStreamMonitor()),
       streamsProxy.getErrorStreamMonitor(),
       streamsProxy);
 }