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

Method UpdateLastActivityTime

libi2pd_client/I2PService.cpp:87–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 }
86
87 void I2PService::UpdateLastActivityTime ()
88 {
89 if (m_CloseIdleTime)
90 {
91 m_LastActivityTime = i2p::util::GetMonotonicMilliseconds ();
92 if (m_LocalDestination->IsIdling ())
93 Resume ();
94 }
95 }
96
97 void I2PService::Resume ()
98 {

Callers 5

WriteToStreamMethod · 0.80
WriteMethod · 0.80
HandleMethod · 0.80
HandleRequestMethod · 0.80
HandleSockRecvMethod · 0.80

Calls 2

GetMonotonicMillisecondsFunction · 0.85
IsIdlingMethod · 0.80

Tested by

no test coverage detected