Example #1
0
        internal async Task Initialize(Handshake handshake, CancellationToken cancellationToken)
        {
            Debug("Server Handshake: {0}", handshake);

            eventSink = await EventSinkClient.FromProxy(handshake.EventSink, cancellationToken);

            if (handshake.Settings != null)
            {
                App.Settings.Merge(handshake.Settings);
            }

            Debug("Server Handshake done");

            helloTcs.SetResult(eventSink);
        }
Example #2
0
 public EventSinkBackend(EventSinkClient client)
 {
     this.client = client;
 }