| java.lang.Object java.io.InputStream com.sun.portal.kssl.In
In | class In extends InputStream (Code) | | This class is a subclass of InputStream and obtains its input bytes
from an SSL connection.
See Also: com.sun.kssl.SSLStreamConnection See Also: com.sun.kssl.Out |
Method Summary | |
public synchronized void | close() Close the stream connection. | public int | read() Reads a byte from this input stream. | public int | read(byte[] b) Reads up to b.length bytes of data from this
input stream into the byte array b . | public synchronized int | read(byte[] b, int off, int len) Reads up to len bytes of data from this input stream
into b starting at offset off . |
In | In(Record r, SSLStreamConnection c)(Code) | | Creates a new In object.
Parameters: r - Record layer object from which input bytes are read Parameters: c - SSLStreamConnection object this In object is a part of |
close | public synchronized void close() throws IOException(Code) | | Close the stream connection.
exception: IOException - is thrown, if an I/O error occurs whileshutting down the connection |
read | public int read() throws IOException(Code) | | Reads a byte from this input stream. The method blocks if no
input is available.
the next byte of data, or -1 if end of stream is reached exception: IOException - if an I/O error occurs |
read | public int read(byte[] b) throws IOException(Code) | | Reads up to b.length bytes of data from this
input stream into the byte array b . Blocks until
some input is available. This is equivalent to
read(b, 0, b.length) .
Parameters: b - the buffer into which data is read the actual number of bytes read into the buffer, or -1if there is no more data and the end of input stream has beenreached exception: IOException - if an I/O error occurs |
read | public synchronized int read(byte[] b, int off, int len) throws IOException(Code) | | Reads up to len bytes of data from this input stream
into b starting at offset off .
Parameters: b - buffer into which data is read Parameters: off - starting offset where data is read Parameters: len - maximum number of bytes to be readreturn the actual number of bytes read into the buffer, or -1if there is no more data and the end of input stream has beenreached number of bytes read exception: IOException - if an I/O error occurs |
|
|