version 1.48, 2002/07/26 20:01:19
|
version 1.49, 2002/08/27 22:05:02
|
|
|
| |
Uint32 totalIssued() { return _totalIssued; } | Uint32 totalIssued() { return _totalIssued; } |
| |
// Append a new entry to the response list |
// Append a new entry to the response list. Return value indicates |
void appendResponse(CIMResponseMessage* response) |
// whether this response is the last one expected |
|
Boolean appendResponse(CIMResponseMessage* response) |
{ | { |
_appendResponseMutex.lock(pegasus_thread_self()); | _appendResponseMutex.lock(pegasus_thread_self()); |
_responseList.append(response); | _responseList.append(response); |
|
Boolean returnValue = (totalIssued() == numberResponses()); |
_appendResponseMutex.unlock(); | _appendResponseMutex.unlock(); |
|
return returnValue; |
} | } |
| |
Uint32 numberResponses() { return _responseList.size(); } | Uint32 numberResponses() { return _responseList.size(); } |