public WebSocketRelayedConnectionElement(TokenProvider tokenProvider, SocketSecurityRole socketSecurityMode, BindingContext context, NameSettings nameSettings) { this.tokenProvider = tokenProvider; this.SecurityMode = socketSecurityMode; this.context = context; this.nameSettings = nameSettings; this.connectionListener = new WebSocketRelayedConnectionListener(this.tokenProvider, this.SecurityMode, this.nameSettings, context); }
public ConnectAsyncResult(RelayedConnectMessage request, WebSocketRelayedConnectionListener relayedConnectionListener, EventTraceActivity activity, AsyncCallback callback, object state) : base(ConnectConstants.ConnectionInitiateTimeout, callback, state) { this.Request = request; this.activity = activity; this.relayedConnectionListener = relayedConnectionListener; }