version 1.25, 2006/01/30 16:17:49
|
version 1.26, 2006/07/17 14:34:40
|
|
|
#include <Pegasus/Common/Monitor.h> | #include <Pegasus/Common/Monitor.h> |
#include <Pegasus/Common/HTTPConnector.h> | #include <Pegasus/Common/HTTPConnector.h> |
#include <Pegasus/Common/CIMMessage.h> | #include <Pegasus/Common/CIMMessage.h> |
|
#include <Pegasus/Common/HTTPConnection.h> |
#include <Pegasus/Common/MessageQueue.h> | #include <Pegasus/Common/MessageQueue.h> |
#include <Pegasus/Common/CIMObject.h> | #include <Pegasus/Common/CIMObject.h> |
#include <Pegasus/Common/Exception.h> | #include <Pegasus/Common/Exception.h> |
|
|
void setTimeout(Uint32 timeoutMilliseconds) | void setTimeout(Uint32 timeoutMilliseconds) |
{ | { |
_timeoutMilliseconds = timeoutMilliseconds; | _timeoutMilliseconds = timeoutMilliseconds; |
|
if ((_connected) && (_httpConnection != 0)) |
|
_httpConnection->setSocketWriteTimeout(_timeoutMilliseconds/1000+1); |
|
|
} | } |
| |
/** Creates an HTTP connection with the server | /** Creates an HTTP connection with the server |