| 903 | } |
| 904 | |
| 905 | void GarlicDestination::HandleDeliveryStatusMessage (uint32_t msgID) |
| 906 | { |
| 907 | GarlicRoutingSessionPtr session; |
| 908 | { |
| 909 | std::unique_lock<std::mutex> l(m_DeliveryStatusSessionsMutex); |
| 910 | auto it = m_DeliveryStatusSessions.find (msgID); |
| 911 | if (it != m_DeliveryStatusSessions.end ()) |
| 912 | { |
| 913 | session = it->second; |
| 914 | m_DeliveryStatusSessions.erase (it); |
| 915 | } |
| 916 | } |
| 917 | if (session) |
| 918 | { |
| 919 | session->MessageConfirmed (msgID); |
| 920 | LogPrint (eLogDebug, "Garlic: Message ", msgID, " acknowledged"); |
| 921 | } |
| 922 | } |
| 923 | |
| 924 | void GarlicDestination::SetLeaseSetUpdated (bool post) |
| 925 | { |
nothing calls this directly
no test coverage detected