private void OnAddEndpoint(EndpointDispatcher endpoint) { lock (this.ThisLock) { endpoint.Attach(this); if (this.State == CommunicationState.Opened) { _filterTable.AddEndpoint(endpoint); } } }
private void OnAddEndpoint(EndpointDispatcher endpoint) { lock (base.ThisLock) { endpoint.Attach(this); if (base.State == CommunicationState.Opened) { if (this.addressTable != null) { this.addressTable.Add(endpoint.AddressFilter, endpoint.EndpointAddress, endpoint.FilterPriority); } this.filterTable.AddEndpoint(endpoint); } } }