Closeable, AutoCloseablepublic class USInputStream extends InputStream
| Modifier and Type | Field | Description |
|---|---|---|
static int |
MSG_DONTWAIT |
| Constructor | Description |
|---|---|
USInputStream(int sock,
UnixSocket us) |
| Modifier and Type | Method | 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) |
available, mark, read, readAllBytes, readNBytes, reset, skip, transferTopublic static final int MSG_DONTWAIT
public USInputStream(int sock,
UnixSocket us)
public void close()
throws IOException
close in interface AutoCloseableclose in interface Closeableclose in class InputStreamIOExceptionpublic boolean markSupported()
markSupported in class InputStreampublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic boolean isClosed()
public UnixSocket getSocket()
public void setBlocking(boolean enable)
public void setSoTimeout(int timeout)