Exemple #1
0
 /// <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)
 {
 }
Exemple #2
0
 /// <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;
 }
Exemple #3
0
 /// <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)
 {
 }
Exemple #4
0
 /// <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>();
 }