public TcpClientQbservableProvider(Type sourceType, IPEndPoint endPoint, IRemotingFormatter formatter, LocalEvaluator localEvaluator) { this.sourceType = sourceType; this.endPoint = endPoint; this.formatter = formatter; this.localEvaluator = localEvaluator; }
/// <summary> /// Constructs an instance of a client provider. /// </summary> protected QactiveProvider(Type sourceType, LocalEvaluator clientEvaluator) { Contract.Requires(sourceType != null); Contract.Requires(clientEvaluator != null); SourceType = sourceType; ClientEvaluator = clientEvaluator; }
public TcpQbservableClient(IPAddress address, int port, LocalEvaluator localEvaluator) : this(new IPEndPoint(address, port), localEvaluator) { Contract.Requires(address != null); Contract.Requires(port >= IPEndPoint.MinPort); Contract.Requires(port <= IPEndPoint.MaxPort); Contract.Requires(localEvaluator != null); }
/// <summary> /// Constructs an instance of a client provider. /// </summary> protected QactiveProvider(Type sourceType, LocalEvaluator clientEvaluator, object argument) : this(sourceType, clientEvaluator) { Contract.Requires(sourceType != null); Contract.Requires(clientEvaluator != null); Argument = argument; }
public LocalEvaluationVisitor(LocalEvaluator evaluator, IQbservableProtocol protocol) { Contract.Requires(evaluator != null); Contract.Requires(protocol != null); this.evaluator = evaluator; this.protocol = protocol; }
public WebSocketQbservableClient(Uri uri, IRemotingFormatter formatter, LocalEvaluator localEvaluator) { Contract.Requires(uri != null); Contract.Requires(formatter != null); Contract.Requires(localEvaluator != null); this.uri = uri; this.formatter = formatter; this.localEvaluator = localEvaluator; }
public TcpQbservableClient(IPEndPoint endPoint, IRemotingFormatter formatter, LocalEvaluator localEvaluator) { Contract.Requires(endPoint != null); Contract.Requires(formatter != null); Contract.Requires(localEvaluator != null); this.endPoint = endPoint; this.formatter = formatter; this.localEvaluator = localEvaluator; }
private TcpQactiveProvider(Type sourceType, IPEndPoint endPoint, Action <Socket> prepareSocket, IRemotingFormatter formatter, LocalEvaluator localEvaluator, object argument) : base(sourceType, localEvaluator, argument) { Contract.Requires(sourceType != null); Contract.Requires(endPoint != null); Contract.Requires(prepareSocket != null); Contract.Requires(formatter != null); Contract.Requires(localEvaluator != null); EndPoint = endPoint; clientNumber = Interlocked.Increment(ref lastClientNumber); this.prepareSocket = prepareSocket; formatterFactory = new ConstantFormatterFactory(formatter).GetFormatter; }
public static TcpQactiveProvider Client(Type sourceType, IPEndPoint endPoint, Action <Socket> prepareSocket, IRemotingFormatter formatter, LocalEvaluator localEvaluator, object argument) { Contract.Requires(sourceType != null); Contract.Requires(endPoint != null); Contract.Requires(prepareSocket != null); Contract.Requires(formatter != null); Contract.Requires(localEvaluator != null); Contract.Ensures(Contract.Result <TcpQactiveProvider>() != null); return(new TcpQactiveProvider(sourceType, endPoint, prepareSocket, formatter, localEvaluator, argument)); }
private WebSocketQactiveProvider(Type sourceType, Uri uri, Action <WebSocket> prepareSocket, IRemotingFormatter formatter, LocalEvaluator localEvaluator) : base(sourceType, localEvaluator) { Contract.Requires(sourceType != null); Contract.Requires(uri != null); Contract.Requires(prepareSocket != null); Contract.Requires(formatter != null); Contract.Requires(localEvaluator != null); Uri = uri; clientNumber = Interlocked.Increment(ref lastClientNumber); this.prepareSocket = prepareSocket; formatterFactory = new ConstantFormatterFactory(formatter).GetFormatter; }
public static WebSocketQactiveProvider Client(Type sourceType, Uri uri, Action <WebSocket> prepareSocket, IRemotingFormatter formatter, LocalEvaluator localEvaluator, object argument) { Contract.Requires(sourceType != null); Contract.Requires(uri != null); Contract.Requires(prepareSocket != null); Contract.Requires(formatter != null); Contract.Requires(localEvaluator != null); Contract.Ensures(Contract.Result <WebSocketQactiveProvider>() != null); return(new WebSocketQactiveProvider(sourceType, uri, prepareSocket, formatter, localEvaluator, argument)); }
public QbservableTcpClient(IPEndPoint endPoint, LocalEvaluator localEvaluator) : this(endPoint, QbservableTcpServer.CreateDefaultFormatter(), localEvaluator) { }
public TcpQbservableClient(IPEndPoint endPoint, LocalEvaluator localEvaluator) : this(endPoint, TcpQactiveDefaults.CreateDefaultFormatter(), localEvaluator) { Contract.Requires(endPoint != null); Contract.Requires(localEvaluator != null); }
public LocalEvaluationVisitor(LocalEvaluator evaluator, QbservableProtocol protocol) { this.evaluator = evaluator; this.protocol = protocol; }
public TcpClientQbservableProvider(Type sourceType, IPEndPoint endPoint, IRemotingFormatter formatter, LocalEvaluator localEvaluator, object argument) : this(sourceType, endPoint, formatter, localEvaluator) { this.argument = argument; }
public QbservableTcpClient(IPAddress address, int port, LocalEvaluator localEvaluator) : this(new IPEndPoint(address, port), localEvaluator) { }
public QbservableTcpClient(IPAddress address, int port, IRemotingFormatter formatter, LocalEvaluator localEvaluator) : this(new IPEndPoint(address, port), formatter, localEvaluator) { }
public WebSocketQbservableClient(Uri uri, LocalEvaluator localEvaluator) : this(uri, WebSocketQactiveDefaults.CreateDefaultFormatter(), localEvaluator) { Contract.Requires(uri != null); Contract.Requires(localEvaluator != null); }
public QbservableTcpClient(IPEndPoint endPoint, IRemotingFormatter formatter, LocalEvaluator localEvaluator) { this.endPoint = endPoint; this.formatter = formatter; this.localEvaluator = localEvaluator; }
protected QactiveProviderContract(Type sourceType, LocalEvaluator clientEvaluator) : base(sourceType, clientEvaluator) { }