| java.lang.Object java.io.InputStream org.apache.harmony.luni.net.SocketInputStream
SocketInputStream | class SocketInputStream extends InputStream (Code) | | The SocketInputStream supports the streamed reading of bytes from a socket.
Multiple streams may be opened on a socket, so care should be taken to manage
opened streams and coordinate read operations between threads.
|
Method Summary | |
public int | available() | public void | close() | public int | read() | public int | read(byte[] buffer) | public int | read(byte[] buffer, int offset, int count) | public long | skip(long n) |
SocketInputStream | public SocketInputStream(SocketImpl socket)(Code) | | Constructs a SocketInputStream for the socket . Read
operations are forwarded to the socket .
Parameters: socket - the socket to be read See Also: Socket |
|
|