Class InterruptibleInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
ecmwf.common.rmi.interruptible.InterruptibleInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public final class InterruptibleInputStream extends FilterInputStream
A FilterInputStream that monitors RMI client socket disconnection.
  • Constructor Details

    • InterruptibleInputStream

      public InterruptibleInputStream(InputStream in)
      Instantiates a new interruptible input stream.
      Parameters:
      in - the in
    • InterruptibleInputStream

      public InterruptibleInputStream(InputStream in, Socket socket)
      Instantiates a new interruptible input stream.
      Parameters:
      in - the in
      socket - the socket
  • Method Details