Esempio n. 1
0
        protected virtual Pipe VisitIntervalMessageConsumer(IntervalMessageConsumerSegment messageConsumer)
        {
            if (messageConsumer == null)
            {
                return(null);
            }

            return(messageConsumer);
        }
Esempio n. 2
0
        protected override Pipe VisitIntervalMessageConsumer(IntervalMessageConsumerSegment messageConsumer)
        {
            _lastNodeVertex = GetSink(messageConsumer.GetHashCode(), () => "Consumer", typeof(IntervalMessageConsumerSegment),
                                      messageConsumer.MessageType);

            if (_stack.Count > 0)
            {
                _edges.Add(new Edge(_stack.Peek(), _lastNodeVertex, _lastNodeVertex.TargetType.Name));
            }

            return(Recurse(() => base.VisitIntervalMessageConsumer(messageConsumer)));
        }
Esempio n. 3
0
        protected override Pipe VisitIntervalMessageConsumer(IntervalMessageConsumerSegment messageConsumer)
        {
            _lastNodeVertex = GetSink(messageConsumer.GetHashCode(), () => "Consumer", typeof(IntervalMessageConsumerSegment),
                                      messageConsumer.MessageType);

            if (_stack.Count > 0)
                _edges.Add(new Edge(_stack.Peek(), _lastNodeVertex, _lastNodeVertex.TargetType.Name));

            return Recurse(() => base.VisitIntervalMessageConsumer(messageConsumer));
        }
Esempio n. 4
0
        protected override Pipe VisitIntervalMessageConsumer(IntervalMessageConsumerSegment messageConsumer)
        {
            WriteLine(messageConsumer, "Consumer Type = " + messageConsumer.ConsumerType);

            return(base.VisitIntervalMessageConsumer(messageConsumer));
        }
Esempio n. 5
0
        protected virtual Pipe VisitIntervalMessageConsumer(IntervalMessageConsumerSegment messageConsumer)
        {
            if (messageConsumer == null)
                return null;

            return messageConsumer;
        }