version 1.28, 2007/02/21 10:02:33
|
version 1.29, 2007/03/02 19:33:21
|
|
|
private: | private: |
| |
void _connect(); | void _connect(); |
|
|
void _disconnect(); | void _disconnect(); |
| |
void _reconnect(); |
|
|
|
Message* _doRequest( | Message* _doRequest( |
AutoPtr<CIMRequestMessage>& request, | AutoPtr<CIMRequestMessage>& request, |
const Uint32 expectedResponseMessageType); |
Uint32 expectedResponseMessageType); |
| |
String _getLocalHostName(); |
|
AutoPtr<Monitor> _monitor; | AutoPtr<Monitor> _monitor; |
AutoPtr<HTTPConnector> _httpConnector; | AutoPtr<HTTPConnector> _httpConnector; |
HTTPConnection* _httpConnection; | HTTPConnection* _httpConnection; |
| |
|
|
Uint32 _timeoutMilliseconds; | Uint32 _timeoutMilliseconds; |
Boolean _connected; | Boolean _connected; |
|
/** |
|
The CIMExportClient uses a lazy reconnect algorithm. A reconnection |
|
is necessary when the server (listener) sends a Connection: Close |
|
header in the HTTP response or when a connection timeout occurs |
|
while waiting for a response. In these cases, a disconnect is |
|
performed immediately and the _doReconnect flag is set. The |
|
connection is re-established only when required to perform another |
|
operation. Note that in the case of a connection timeout, the |
|
challenge status must be reset in the ClientAuthenticator to allow |
|
authentication to be performed properly on the new connection. |
|
*/ |
|
Boolean _doReconnect; |
|
|
AutoPtr<CIMOperationResponseDecoder> _responseDecoder; | AutoPtr<CIMOperationResponseDecoder> _responseDecoder; |
AutoPtr<CIMOperationRequestEncoder> _requestEncoder; | AutoPtr<CIMOperationRequestEncoder> _requestEncoder; |
ClientAuthenticator _authenticator; | ClientAuthenticator _authenticator; |