| java.lang.Object java.io.OutputStream com.sun.portal.kssl.Out
Out | class Out extends OutputStream (Code) | | This class is a subclass of OutputStream and is used for
writing data to an SSL connection.
See Also: com.sun.kssl.SSLStreamConnection See Also: com.sun.kssl.In |
Method Summary | |
public synchronized void | close() Close the stream connection. | public void | write(int b) Writes the specified byte to this output stream. | public void | write(byte[] b) Writes all the bytes in the specified byte array to this
output stream. | public void | write(byte[] b, int off, int len) Writes len bytes starting at offset
off from byte array b to this
output stream. |
Out | Out(Record r, SSLStreamConnection c)(Code) | | Creates a new Out object.
Parameters: r - SSL record layer object to which bytes are written Parameters: c - SSLStreamConnection object this Out 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 |
write | public void write(int b) throws IOException(Code) | | Writes the specified byte to this output stream.
Parameters: b - byte to be written exception: IOException - if I/O error occurs |
write | public void write(byte[] b) throws IOException(Code) | | Writes all the bytes in the specified byte array to this
output stream. This is equivalent to write(b, 0, b.length).
Parameters: b - byte array containing data to be written exception: IOException - if I/O error occurs |
write | public void write(byte[] b, int off, int len) throws IOException(Code) | | Writes len bytes starting at offset
off from byte array b to this
output stream.
Parameters: b - byte array containing data to be written Parameters: off - starting offset of data to be written Parameters: len - number of bytes to be written exception: IOException - if I/O error occurs |
|
|