func (p *ProtocolHandler) Notify(n ConnectionManagerNotifee) {
	p.notifeeLock.Lock()
	p.notifees = append(p.notifees, n)
	p.notifeeLock.Unlock()
}
// Notify notifies a specific notifier when certain events happen.
Notify notifies a specific notifier when certain events happen.
// Notify notifies a specific notifier when certain events happen .
func (p *ProtocolHandler) Notify(n ConnectionManagerNotifee) {
	p.notifeeLock.Lock()
	p.notifees = append(p.notifees, n)
	p.notifeeLock.Unlock()
}
func ( p * ProtocolHandler ) Notify ( n ConnectionManagerNotifee ) { p . notifeeLock . Lock ( ) p . notifees = append ( p . notifees , n ) p . notifeeLock . Unlock ( ) }
Notify notifies a specific notifier when certain events happen.
Notify notifies a specific notifier when certain events happen .