---------------------------------------------------------------------
| 181 | } |
| 182 | //--------------------------------------------------------------------- |
| 183 | void DefaultWorkQueueBase::removeResponseHandler( uint16 channel, ResponseHandler *rh ) |
| 184 | { |
| 185 | ResponseHandlerListByChannel::iterator i = mResponseHandlers.find( channel ); |
| 186 | if( i != mResponseHandlers.end() ) |
| 187 | { |
| 188 | ResponseHandlerList &handlers = i->second; |
| 189 | ResponseHandlerList::iterator j = std::find( handlers.begin(), handlers.end(), rh ); |
| 190 | if( j != handlers.end() ) |
| 191 | handlers.erase( j ); |
| 192 | } |
| 193 | } |
| 194 | //--------------------------------------------------------------------- |
| 195 | WorkQueue::RequestID DefaultWorkQueueBase::addRequest( uint16 channel, uint16 requestType, |
| 196 | const Any &rData, uint8 retryCount, |
no test coverage detected