示例#1
0
 public FailoverPublisherClientResolver(IFailoverResolver failoverResolver,
                                        ITopicClientWrapper topicClient,
                                        ITopicClientWrapper failoverClient,
                                        IVeStatsDClient statsDClient)
 {
     _failoverResolver = failoverResolver;
     _topicClient      = topicClient;
     _failoverClient   = failoverClient;
     _statsDClient     = statsDClient;
 }
示例#2
0
 public PublisherFactory(IVeStatsDClient statsDClient,
                         IFailoverResolver failoverResolver,
                         ISerializer serializer,
                         ITopicClientCreator topicClientCreator)
 {
     _statsDClient       = statsDClient;
     _failoverResolver   = failoverResolver;
     _serializer         = serializer;
     _topicClientCreator = topicClientCreator;
 }