Interface Repository

Interface NetComponents::SocketOutputStream

This interface wraps the Socket and/or SSLSocket to provide clients an output set of APIs without exposing the underlying Socket/SSLSocket.

The APIs, writeFromBuffer and write are identical to Socket and SSLSocket, thus this interface can directly pass through to the underlying connection.

Note: Transport exception may or may not contains SSL information. This depends on whether or not the underlying connection is secure or not.

C++ Example:

HttpsURLConnection_var hc = HttpsURLConnection::_narrow( ... );

..... set properties .....

SocketOutputStream_var sos = hc->getOutputStream();

sos->write(buffer);

Java Example:

Operation Index

Operations


Generated by Sybase EAServer 5.0