Example #1
0
        public UserizyonClient(IULibBindings bindings)
        {
            _tdJsonClient = new UJsonClient(bindings);

            _tasks = new ConcurrentDictionary <int, Action <UApi.Object> >();

            _receiver           = new Receiver(_tdJsonClient);
            _receiver.Received += OnReceived;
            _receiver.AuthorizationStateChanged += OnAuthorizationStateChanged;
            _receiver.Start();
        }
Example #2
0
 public UJsonClient(IULibBindings bindings)
 {
     Bindings = bindings;
     _handle  = Bindings.ClientCreate();
 }