* Should be called after any type of authenticated packet is sent -- keepalive, data, or handshake. */
()
| 154 | |
| 155 | /* Should be called after any type of authenticated packet is sent -- keepalive, data, or handshake. */ |
| 156 | func (peer *Peer) timersAnyAuthenticatedPacketSent() { |
| 157 | if peer.timersActive() { |
| 158 | peer.timers.sendKeepalive.Del() |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | /* Should be called after any type of authenticated packet is received -- keepalive, data, or handshake. */ |
| 163 | func (peer *Peer) timersAnyAuthenticatedPacketReceived() { |
no test coverage detected