humble-video-noarch/src/main/java/io/humble/video/customio/ReadableWritableChannelHandler.java
public int close()
  {
    int retval = 0;
    try
    {
      if (mOpenStream != null && mCloseStreamOnClose)
      {
        mOpenStream.close();
      }
    }
    catch (IOException e)
    {
      log.error("could not close stream {}: {}", mOpenStream, e);
      retval = -1;
    }
    mOpenStream = null;
    return retval;
  }
public int close()
  {
    int retval = 0;
    try
    {
      if (mOpenStream != null && mCloseStreamOnClose)
      {
        mOpenStream.close();
      }
    }
    catch (IOException e)
    {
      log.error("could not close stream {}: {}", mOpenStream, e);
      retval = -1;
    }
    mOpenStream = null;
    return retval;
  }
public int close ( ) { int retval = 0 ; try { if ( mOpenStream != null && mCloseStreamOnClose ) { mOpenStream . close ( ) ; } } catch ( IOException e ) { log . error ( "could not close stream {}: {}" , mOpenStream , e ) ; retval = - 1 ; } mOpenStream = null ; return retval ; }
{@inheritDoc}
{