Example #1
0
 public Client(ClientConfig clientConfig)
 {
     _clientConfig = clientConfig;
     _bufferManager = BufferManager.CreateBufferManager(100, 100000);
     _isConnected = false;
     _thread = new Thread(Dispatch);
 }
        public CachingPublisher(ClientConfig clientConfig)
        {
            _client = new Client(clientConfig);

            _client.OnForwardedSubscription += OnForwardedSubscription;
            _client.OnData += RaiseOnData;
            _client.OnClosed += RaiseOnClosed;
        }