private void Start()
 {
     if (RData.RDataLogging.DoLog)
     {
         Debug.Log("Ui tracker start");
     }
     _rdataClient = RDataSingleton.Client;
 }
 public void TestEnd()
 {
     GameObject.DestroyImmediate(_coroutineManager);
     _rDataClient.Close();
     _rDataClient   = null;
     _jsonRpcClient = null;
     _testStopWatch.Stop();
     _testStopWatch = null;
 }
        public void TestInit()
        {
            _testStopWatch    = new Stopwatch();
            _coroutineManager = new GameObject("Test_CoroutineManager", typeof(CoroutineManager)).GetComponent <CoroutineManager>();

            _jsonRpcClient                   = new MockJsonRpcClient();
            _localDataRepository             = new MockDataRepository();
            _rDataClient                     = new RDataClient();
            _rDataClient.JsonRpcClient       = _jsonRpcClient;
            _rDataClient.LocalDataRepository = _localDataRepository;
            _rDataClient.ChunkLifeTime       = 0.010f;

            _coroutineManager.TestCoroutine(_rDataClient.Open("hostname"));
            _testStopWatch.Start();
        }
 public JwtAuthorizationStrategy(RDataClient rRataClient, JwtAuthenticationClient jwtAuthClient)
 {
     _rDataClient   = rRataClient;
     _jwtAuthClient = jwtAuthClient;
 }
 public UserAuthorizationStrategy(RDataClient client)
 {
     _client = client;
 }