| 195 | return State; |
| 196 | } |
| 197 | TDeque<TQueuedSend>::iterator GetSend(const TGUID& packetGuid) { |
| 198 | for (TDeque<TQueuedSend>::iterator z = SendQueue.begin(); z != SendQueue.end(); ++z) { |
| 199 | if (z->PacketGuid == packetGuid) { |
| 200 | return z; |
| 201 | } |
| 202 | } |
| 203 | Y_ABORT_UNLESS(0, "no send by guid"); |
| 204 | return SendQueue.begin(); |
| 205 | } |
| 206 | TDeque<TQueuedSend>::iterator GetSend(TIBMsgHandle msgHandle) { |
| 207 | for (TDeque<TQueuedSend>::iterator z = SendQueue.begin(); z != SendQueue.end(); ++z) { |
| 208 | if (z->MsgHandle == msgHandle) { |
no test coverage detected