MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / Ack

Method Ack

libi2pd/Datagram.cpp:594–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

592 }
593
594 void DatagramSession::Ack()
595 {
596 m_LastUse = i2p::util::GetMillisecondsSinceEpoch();
597 auto path = GetSharedRoutingPath();
598 if(path)
599 path->updateTime = i2p::util::GetSecondsSinceEpoch ();
600 if (IsRatchets ())
601 SendMsg (nullptr); // send empty message in case if we don't have some data to send
602 }
603
604 std::shared_ptr<i2p::garlic::GarlicRoutingPath> DatagramSession::GetSharedRoutingPath ()
605 {

Callers 3

HandleDatagramMethod · 0.80
HandleDatagram2Method · 0.80
HandleDatagram3Method · 0.80

Calls 2

GetSecondsSinceEpochFunction · 0.85

Tested by

no test coverage detected