| 202 | return State; |
| 203 | } |
| 204 | TDeque<TQueuedSend>::iterator GetSend(const TGUID& packetGuid) { |
| 205 | for (TDeque<TQueuedSend>::iterator z = SendQueue.begin(); z != SendQueue.end(); ++z) { |
| 206 | if (z->PacketGuid == packetGuid) { |
| 207 | return z; |
| 208 | } |
| 209 | } |
| 210 | Y_ABORT_UNLESS(0, "no send by guid"); |
| 211 | return SendQueue.begin(); |
| 212 | } |
| 213 | TDeque<TQueuedSend>::iterator GetSend(TIBMsgHandle msgHandle) { |
| 214 | for (TDeque<TQueuedSend>::iterator z = SendQueue.begin(); z != SendQueue.end(); ++z) { |
| 215 | if (z->MsgHandle == msgHandle) { |
no test coverage detected