public class USInputStream
extends java.io.InputStream
| Modifier and Type | Field and Description |
|---|---|
static int |
MSG_DONTWAIT |
| Constructor and Description |
|---|
USInputStream(int sock,
UnixSocket us) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
UnixSocket |
getSocket() |
boolean |
isClosed() |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
setBlocking(boolean enable) |
void |
setSoTimeout(int timeout) |
public static final int MSG_DONTWAIT
public USInputStream(int sock,
UnixSocket us)
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.InputStreampublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic boolean isClosed()
public UnixSocket getSocket()
public void setBlocking(boolean enable)
public void setSoTimeout(int timeout)