/// <summary> /// Attaches the object to an existing socket. /// </summary> public TcpReverseConnectChannel( string contextId, ITcpChannelListener listener, BufferManager bufferManager, ChannelQuotas quotas, EndpointDescriptionCollection endpoints) : base(contextId, listener, bufferManager, quotas, null, null, endpoints) { }
/// <summary> /// Create channel /// </summary> /// <param name="contextId"></param> /// <param name="listener"></param> /// <param name="bufferManager"></param> /// <param name="quotas"></param> /// <param name="serverCertificate"></param> /// <param name="serverCertificateChain"></param> /// <param name="endpoints"></param> public SecureChannel(string contextId, ITcpChannelListener listener, BufferManager bufferManager, ChannelQuotas quotas, X509Certificate2 serverCertificate, X509Certificate2Collection serverCertificateChain, EndpointDescriptionCollection endpoints) : base(contextId, listener, bufferManager, quotas, serverCertificate, serverCertificateChain, endpoints) { _endpoints = endpoints; }
/// <summary> /// Attaches the object to an existing socket. /// </summary> public TcpListenerChannel( string contextId, ITcpChannelListener listener, BufferManager bufferManager, ChannelQuotas quotas, X509Certificate2 serverCertificate, EndpointDescriptionCollection endpoints) : this(contextId, listener, bufferManager, quotas, serverCertificate, null, endpoints) { }
/// <summary> /// Attaches the object to an existing socket. /// </summary> public TcpListenerChannel( string contextId, ITcpChannelListener listener, BufferManager bufferManager, ChannelQuotas quotas, X509Certificate2 serverCertificate, X509Certificate2Collection serverCertificateChain, EndpointDescriptionCollection endpoints) : base(contextId, bufferManager, quotas, serverCertificate, serverCertificateChain, endpoints, MessageSecurityMode.None, SecurityPolicies.None) { m_listener = listener; m_queuedResponses = new SortedDictionary <uint, IServiceResponse>(); }