MCPcopy Create free account
hub / github.com/pion/ice / seen

Method seen

candidate_base.go:536–542  ·  view source on GitHub ↗
(outbound bool)

Source from the content-addressed store, hash-verified

534}
535
536func (c *candidateBase) seen(outbound bool) {
537 if outbound {
538 c.setLastSent(time.Now())
539 } else {
540 c.setLastReceived(time.Now())
541 }
542}
543
544func (c *candidateBase) addr() net.Addr {
545 return c.resolvedAddr

Callers 1

writeToMethod · 0.95

Calls 2

setLastSentMethod · 0.95
setLastReceivedMethod · 0.95

Tested by

no test coverage detected