Queue
老邱 authored at 2016-12-20 11:46:24
576.00 B
X
using System;
using System.Collections.Generic;
using NewLife.Queue.Protocols.Brokers;

namespace NewLife.Queue.Protocols.CenterServers
{
    [Serializable]
    public class TopicRouteInfo
    {
        public BrokerInfo BrokerInfo { get; set; }
        public IList<int> QueueInfo { get; set; }

        public TopicRouteInfo()
        {
            QueueInfo = new List<int>();
        }

        public override string ToString()
        {
            return string.Format("[BrokerInfo: {0}, QueueInfo: {1}]", BrokerInfo, string.Join("|", QueueInfo));
        }
    }
}