cx.ath.matthew.unix
Class USInputStream
java.lang.Object
java.io.InputStream
cx.ath.matthew.unix.USInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class USInputStream
- extends java.io.InputStream
Methods inherited from class java.io.InputStream |
available, mark, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MSG_DONTWAIT
public static final int MSG_DONTWAIT
- See Also:
- Constant Field Values
USInputStream
public USInputStream(int sock,
UnixSocket us)
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
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class java.io.InputStream
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 off,
int len)
throws java.io.IOException
- Overrides:
read
in class java.io.InputStream
- Throws:
java.io.IOException
isClosed
public boolean isClosed()
getSocket
public UnixSocket getSocket()
setBlocking
public void setBlocking(boolean enable)
setSoTimeout
public void setSoTimeout(int timeout)