version 1.15, 2005/05/23 02:49:28
|
version 1.16, 2005/06/06 14:39:59
|
|
|
// Since deleteRequest also removes the element from the array, | // Since deleteRequest also removes the element from the array, |
// delete first element of the array each time | // delete first element of the array each time |
// | // |
deleteRequest(0); |
_deleteRequest (0); |
} | } |
Uint32 numberResponses = getNumberResponses(); | Uint32 numberResponses = getNumberResponses(); |
for (Uint32 j = 0; j < numberResponses; j++) | for (Uint32 j = 0; j < numberResponses; j++) |
|
|
// Since deleteResponse also removes the element from the array, | // Since deleteResponse also removes the element from the array, |
// delete first element of the array each time | // delete first element of the array each time |
// | // |
deleteResponse(0); |
_deleteResponse (0); |
} | } |
} | } |
| |
|
|
return _responseList[pos]; | return _responseList[pos]; |
} | } |
| |
void IndicationOperationAggregate::deleteResponse(Uint32 pos) |
|
{ |
|
delete _responseList[pos]; |
|
_responseList.remove(pos); |
|
} |
|
|
|
void IndicationOperationAggregate::appendRequest( | void IndicationOperationAggregate::appendRequest( |
CIMRequestMessage* request) | CIMRequestMessage* request) |
{ | { |
AutoMutex autoMut(_appendRequestMutex); | AutoMutex autoMut(_appendRequestMutex); |
_requestList.append(request); | _requestList.append(request); |
|
|
} | } |
| |
Uint32 IndicationOperationAggregate::getNumberRequests() const | Uint32 IndicationOperationAggregate::getNumberRequests() const |
|
|
return _requestList[pos]; | return _requestList[pos]; |
} | } |
| |
void IndicationOperationAggregate::deleteRequest(Uint32 pos) |
|
{ |
|
delete _requestList[pos]; |
|
_requestList.remove(pos); |
|
} |
|
|
|
ProviderClassList IndicationOperationAggregate::findProvider( | ProviderClassList IndicationOperationAggregate::findProvider( |
const String& messageId) const | const String& messageId) const |
{ | { |
|
|
return provider; | return provider; |
} | } |
| |
|
void IndicationOperationAggregate::_deleteRequest (Uint32 pos) |
|
{ |
|
delete _requestList[pos]; |
|
_requestList.remove(pos); |
|
} |
|
|
|
void IndicationOperationAggregate::_deleteResponse (Uint32 pos) |
|
{ |
|
delete _responseList[pos]; |
|
_responseList.remove(pos); |
|
} |
|
|
const Uint32 IndicationOperationAggregate::_theMagicNumber = 98765; | const Uint32 IndicationOperationAggregate::_theMagicNumber = 98765; |
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |