Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Activation / TcpHostedTransportConfiguration.cs / 1 / TcpHostedTransportConfiguration.cs
//---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------------------- namespace System.ServiceModel.Activation { using System.Collections.Generic; using System.ServiceModel; using System.ServiceModel.Channels; using System.Diagnostics; using System.Web.Hosting; sealed class TcpHostedTransportConfiguration : HostedTransportConfigurationBase { HostedTcpTransportManager uniqueManager; public TcpHostedTransportConfiguration() : base(Uri.UriSchemeNetTcp) { string[] bindings = HostedTransportConfigurationManager.MetabaseSettings.GetBindings(Uri.UriSchemeNetTcp); for (int i = 0; i < bindings.Length; i++) { BaseUriWithWildcard listenAddress = BaseUriWithWildcard.CreateTcpUri(bindings[i]); if (i == 0) { Debug.Print("TcpHostedTransportConfiguration.ctor() Creating the unique TcpTransportManager with ListenUri:" + listenAddress.BaseAddress); uniqueManager = new HostedTcpTransportManager(listenAddress); } this.ListenAddresses.Add(listenAddress); Debug.Print("Registering the unique TcpTransportManager with ListenUri:" + listenAddress.BaseAddress); TcpChannelListener.StaticTransportManagerTable.RegisterUri(listenAddress.BaseAddress, listenAddress.HostNameComparisonMode, uniqueManager); } } internal TcpTransportManager TransportManager { get { return uniqueManager; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlJsonWriter.cs
- figurelength.cs
- OptionUsage.cs
- FacetDescription.cs
- ProviderCollection.cs
- hresults.cs
- NegationPusher.cs
- X509IssuerSerialKeyIdentifierClause.cs
- RecognizeCompletedEventArgs.cs
- TreeNodeBindingCollection.cs
- AutomationPeer.cs
- Schema.cs
- ValidatorCollection.cs
- LinkedResourceCollection.cs
- Pointer.cs
- ContainerVisual.cs
- TabControl.cs
- DesignTimeTemplateParser.cs
- MLangCodePageEncoding.cs
- DataSetMappper.cs
- AspNetHostingPermission.cs
- SecurityPermission.cs
- PageCatalogPart.cs
- AssertSection.cs
- DataGridCommandEventArgs.cs
- _ListenerAsyncResult.cs
- AuthenticationSection.cs
- XPathParser.cs
- XmlWrappingWriter.cs
- KoreanCalendar.cs
- ActivationServices.cs
- ConfigurationConverterBase.cs
- FormsAuthenticationCredentials.cs
- ListViewUpdatedEventArgs.cs
- GifBitmapEncoder.cs
- BuildProvidersCompiler.cs
- OraclePermissionAttribute.cs
- EventProxy.cs
- ToolStrip.cs
- Condition.cs
- UIAgentAsyncEndRequest.cs
- SelectorAutomationPeer.cs
- HttpResponseInternalBase.cs
- WebPartConnectionsCloseVerb.cs
- WindowsBrush.cs
- AuthenticationManager.cs
- StringFreezingAttribute.cs
- GroupedContextMenuStrip.cs
- SelectedGridItemChangedEvent.cs
- ProtocolsConfigurationHandler.cs
- TdsParserHelperClasses.cs
- Vector3DKeyFrameCollection.cs
- RSAOAEPKeyExchangeFormatter.cs
- Int32KeyFrameCollection.cs
- assemblycache.cs
- DependencyProperty.cs
- ProgressBar.cs
- SqlAliaser.cs
- GlyphRunDrawing.cs
- SystemIcmpV4Statistics.cs
- PlainXmlSerializer.cs
- MessageHeaderDescription.cs
- SolidColorBrush.cs
- FixedPageStructure.cs
- XsdBuildProvider.cs
- PropertyChangedEventArgs.cs
- ConfigErrorGlyph.cs
- HtmlUtf8RawTextWriter.cs
- AppSettingsReader.cs
- BindingCollection.cs
- RectangleConverter.cs
- FrameworkElementFactory.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- MatrixTransform3D.cs
- DesignerAttribute.cs
- Completion.cs
- DefaultSerializationProviderAttribute.cs
- NativeMethods.cs
- DiscoveryClientReferences.cs
- UserMapPath.cs
- ElasticEase.cs
- path.cs
- TypeElement.cs
- SQLDecimal.cs
- Base64Stream.cs
- StrokeCollection.cs
- UrlAuthorizationModule.cs
- StorageMappingItemCollection.cs
- NativeMethods.cs
- SimpleExpression.cs
- TypeElement.cs
- PrintEvent.cs
- CodeAssignStatement.cs
- TableProviderWrapper.cs
- RichTextBox.cs
- HttpHandlerAction.cs
- ColumnMapVisitor.cs
- ManagementNamedValueCollection.cs
- SecurityTokenReferenceStyle.cs
- StylusTip.cs