Beispiel #1
0
        public virtual void Setup()
        {
            Guard.NotNull(_channel, "Channel cannot be null");
            Guard.NotNull(_interpreter, "Interpreter cannot be null");

            _channel.SubscribeRawDataReceived(_interpreter.Interprete);
            _interpreter.AddMessageHandler(_messageHandler);
            _channel.Bind();

            if (SetupFinished != null)
            {
                SetupFinished();
            }
        }