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

Struct handlerNotifier

agent_handlers.go:49–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49type handlerNotifier struct {
50 sync.Mutex
51 runningConnectionStates bool
52 runningCandidates bool
53 runningCandidatePairs bool
54 notifiers sync.WaitGroup
55
56 connectionStates []ConnectionState
57 connectionStateFunc func(ConnectionState)
58
59 candidates []Candidate
60 candidateFunc func(Candidate)
61
62 selectedCandidatePairs []*CandidatePair
63 candidatePairFunc func(*CandidatePair)
64
65 // State for closing
66 done chan struct{}
67}
68
69func (h *handlerNotifier) Close(graceful bool) {
70 if graceful {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected