Interface Repository

Interface NetComponents::SocketInputStream

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

The APIs, readIntoBuffer and read 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:

HttpURLConnection_var hc = HttpURLConnection::_narrow(...);

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

SocketInputStream_var sis = hc->getInputStream();

buffer = sis->read(...);

Java Example:

Operation Index

Operations


Generated by Sybase EAServer 5.0