public WebStreamRelayedConnectionElement(TokenProvider tokenProvider, SocketSecurityRole socketSecurityMode, BindingContext context, NameSettings nameSettings, bool useHttpsMode)
 {
     this.tokenProvider      = tokenProvider;
     this.SecurityMode       = socketSecurityMode;
     this.context            = context;
     this.nameSettings       = nameSettings;
     this.useHttpsMode       = useHttpsMode;
     this.connectionListener = new WebStreamRelayedConnectionListener(this.tokenProvider, this.SecurityMode, this.nameSettings, context, useHttpsMode);
 }
Ejemplo n.º 2
0
 public ConnectAsyncResult(RelayedConnectMessage request, WebStreamRelayedConnectionListener relayedConnectionListener, EventTraceActivity activity, AsyncCallback callback, object state) : base(ConnectConstants.ConnectionInitiateTimeout, callback, state)
 {
     this.Request  = request;
     this.activity = activity;
     this.relayedConnectionListener = relayedConnectionListener;
 }