version 1.15, 2002/09/11 21:58:02
|
version 1.16, 2002/09/18 17:09:24
|
|
|
// | // |
// Author: Mike Brasher (mbrasher@bmc.com) | // Author: Mike Brasher (mbrasher@bmc.com) |
// | // |
// Modified By: |
// Modified By: Carol Ann Krug Graves, Hewlett-Packard Company |
|
// (carolann_graves@hp.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
/** Establishes a new connection and creates an HTTPConnection object | /** Establishes a new connection and creates an HTTPConnection object |
to represent it. | to represent it. |
| |
@param locator indicates which server to connect to (of the form |
@param host indicates host to connect to |
host:port). |
@param portNumber indicates port number to use |
@param outputMessageQueue output message queue for the HTTPConnection | @param outputMessageQueue output message queue for the HTTPConnection |
that will be created. | that will be created. |
@exception InvalidLocatorException | @exception InvalidLocatorException |
|
|
@exception CannotConnectException | @exception CannotConnectException |
*/ | */ |
inline HTTPConnection* connect( | inline HTTPConnection* connect( |
const String& locator, |
const String& host, |
|
const Uint32 portNumber, |
MessageQueue* outputMessageQueue) | MessageQueue* outputMessageQueue) |
{ | { |
return connect(locator, NULL, outputMessageQueue); |
return connect(host, portNumber, NULL, outputMessageQueue); |
} | } |
| |
/** Establishes a new connection and creates an HTTPConnection object | /** Establishes a new connection and creates an HTTPConnection object |
to represent it. | to represent it. |
| |
@param locator indicates which server to connect to (of the form |
@param host indicates host to connect to |
host:port). |
@param portNumber indicates port number to use |
@param sslContext Specifies the SSL context to use for this connection | @param sslContext Specifies the SSL context to use for this connection |
@param outputMessageQueue output message queue for the HTTPConnection | @param outputMessageQueue output message queue for the HTTPConnection |
that will be created. | that will be created. |
|
|
@exception CannotConnectException | @exception CannotConnectException |
*/ | */ |
HTTPConnection* connect( | HTTPConnection* connect( |
const String& locator, |
const String& host, |
|
const Uint32 portNumber, |
SSLContext * sslContext, | SSLContext * sslContext, |
MessageQueue* outputMessageQueue); | MessageQueue* outputMessageQueue); |
| |