version 1.6, 2002/03/07 22:58:45
|
version 1.7, 2002/03/08 20:02:54
|
|
|
@exception CannotConnect | @exception CannotConnect |
@exception UnexpectedFailure | @exception UnexpectedFailure |
*/ | */ |
|
inline HTTPConnection* connect( |
|
const String& locator, |
|
MessageQueue* outputMessageQueue) |
|
{ |
|
return connect(locator, NULL, outputMessageQueue); |
|
} |
|
|
|
/** Establishes a new connection and creates an HTTPConnection object |
|
to represent it. |
|
|
|
@param locator indicates which server to connect to (of the form |
|
host:port). |
|
@param sslContext Specifies the SSL context to use for this connection |
|
@param outputMessageQueue output message queue for the HTTPConnection |
|
that will be created. |
|
@exception InvalidLocator |
|
@exception CannotCreateSocket |
|
@exception CannotConnect |
|
@exception UnexpectedFailure |
|
*/ |
HTTPConnection* connect( | HTTPConnection* connect( |
const String& locator, | const String& locator, |
|
SSLContext * sslContext, |
MessageQueue* outputMessageQueue); | MessageQueue* outputMessageQueue); |
| |
/** Destroys all the connections created by this connector. */ | /** Destroys all the connections created by this connector. */ |