public class USInputStream extends 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 |
setClosed(boolean _closed) |
void |
setSoTimeout(int _timeout) |
public static final int MSG_DONTWAIT
public USInputStream(int _sock,
UnixSocket _us)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose 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)
public void setClosed(boolean _closed)
Copyright © 2020. All rights reserved.