sisc.io.custom
Class SchemeInputStream
java.lang.Object
java.io.InputStream
sisc.io.custom.SchemeInputStream
- All Implemented Interfaces:
- java.io.Closeable, CustomPortProxy
public class SchemeInputStream
- extends java.io.InputStream
- implements CustomPortProxy
Methods inherited from class java.io.InputStream |
mark, markSupported, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemeInputStream
public SchemeInputStream(Procedure read,
Procedure readBlock,
Procedure available,
Procedure close)
read
public int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read(byte[] b,
int offset,
int length)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
- Throws:
java.io.IOException
available
public int available()
throws java.io.IOException
- Overrides:
available
in class java.io.InputStream
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.InputStream
- Throws:
java.io.IOException
getProcs
public Pair getProcs()
- Specified by:
getProcs
in interface CustomPortProxy
getHost
public Value getHost()
- Specified by:
getHost
in interface CustomPortProxy
setHost
public void setHost(Value host)
- Specified by:
setHost
in interface CustomPortProxy