public TcpNodeServiceClient(EndpointAddress tcpAddress) : this(tcpAddress.ToString()) { }
internal static void TraceSendRequest(EndpointAddress address) { TraceSendRequest(TraceCode.MetadataExchangeClientSendRequest, SR.GetString(SR.TraceCodeMetadataExchangeClientSendRequest), address.ToString(), MetadataExchangeClientMode.MetadataExchange.ToString()); }
public PipeNodeServiceClient(EndpointAddress pipeAddress) : this(pipeAddress.ToString()) { }
private static ChannelFactory<IStreamInformationServiceChannel> CreateChannelFactory(string endpointConfiguration, EndpointAddress remoteAddress) { if (_log.IsDebugEnabled) _log.DebugFormat("Creating channel factory for Information Service using endpoint configuration '{0}' and remote address '{1}'", endpointConfiguration, remoteAddress.ToString()); return new ChannelFactory<IStreamInformationServiceChannel>(endpointConfiguration, remoteAddress); }
internal static void TraceSendRequest(EndpointAddress address) { TraceSendRequest(0x8005b, System.ServiceModel.SR.GetString("TraceCodeMetadataExchangeClientSendRequest"), address.ToString(), MetadataExchangeClientMode.MetadataExchange.ToString()); }
private void UnlockCallToAddress(EndpointAddress address) { object lockObject; if (addressLockObjects.TryGetValue(address.ToString(), out lockObject)) { Monitor.Exit(lockObject); } }
private void LockCallToAddress(EndpointAddress address) { var valueToLock = addressLockObjects.GetOrAdd(address.ToString(), k => new object()); Monitor.Enter(valueToLock); }
public static ServiceUri FromEndpointAddress(EndpointAddress endpointAddress, Binding binding) { return new ServiceUri() { Address = endpointAddress.ToString() }; }