/// <inheritdoc /> public ClientRef ClientOf(string path) { Requires.NotNullOrWhitespace(path, nameof(path)); var endpoint = ClientEndpoint.Proxy(path, grainFactory); return(new ClientRef(endpoint)); }
public static async Task <ClientEndpoint> Create(IGrainFactory factory) { var endpoint = new ClientEndpoint(factory); var proxy = await factory.CreateObjectReference <IClientEndpoint>(endpoint); return(endpoint.Initialize(proxy)); }
ClientObserver(ClientEndpoint endpoint) : this(endpoint.Self) { this.endpoint = endpoint; }
/// <summary> /// Creates new <see cref="ClientObserver"/> /// </summary> /// <returns>New instance of <see cref="ClientObserver"/></returns> public static async Task <ClientObserver> Create() { var proxy = await ClientEndpoint.Create(); return(new ClientObserver(proxy)); }
internal ClientObservable(ClientEndpoint endpoint) : this(endpoint.Self) { this.endpoint = endpoint; }
public ClientRef(SerializationInfo info, StreamingContext context) { Path = (string)info.GetValue("path", typeof(string)); endpoint = ClientEndpoint.Proxy(Path); }
public static ClientRef Deserialize(string path) => new ClientRef(path, ClientEndpoint.Proxy(path));
public new static ClientRef Deserialize(string path) { return(new ClientRef(path, ClientEndpoint.Proxy(path))); }
internal ClientRef(IClientEndpoint endpoint) : this(ClientEndpoint.Path(endpoint)) { this.endpoint = endpoint; }
public DisposableSubscription(ClientEndpoint owner) { this.owner = owner; }