Package net.pms.external

Examples of net.pms.external.StartStopListenerDelegate.stop()


        socket.close();
      } catch (IOException e) {
        LOGGER.error("Error closing connection: ", e);
      }

      startStopListenerDelegate.stop();
      LOGGER.trace("Close connection");
    }
  }

  /**
 
View Full Code Here


      LOGGER.trace("HTTP request V2 IO error: " + e1.getMessage());
      // note: we don't call stop() here in a finally block as
      // answer() is non-blocking. we only (may) need to call it
      // here in the case of an exception. it's a no-op if it's
      // already been called
      startStopListenerDelegate.stop();
    }
  }

  @Override
  public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e)
View Full Code Here

      logger.trace("HTTP request V2 IO error: " + e1.getMessage());
      // note: we don't call stop() here in a finally block as
      // answer() is non-blocking. we only (may) need to call it
      // here in the case of an exception. it's a no-op if it's
      // already been called
      startStopListenerDelegate.stop();
    }
  }

  @Override
  public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e)
View Full Code Here

        socket.close();
      } catch (IOException e) {
        logger.error("Error closing connection: ", e);
      }

      startStopListenerDelegate.stop();
      logger.trace("Close connection");
    }
  }

  /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.